updated Xcode

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@225 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
albertzeyer
2009-08-11 10:41:13 +00:00
parent dc30276ec6
commit 55fd4e5d9f
2 changed files with 89 additions and 29 deletions

View File

@@ -85,7 +85,7 @@ bool CSoundSlot::loadSound(const std::string& fname, const std::string& searchna
// copy the data to the real m_sounddata block and reduce fragmentation!
m_sounddata = new unsigned int[m_soundlength];
memcpy(m_sounddata, waveform.data(), m_soundlength*sizeof(unsigned int));
memcpy(m_sounddata, &waveform[0], waveform.size()*sizeof(unsigned int));
g_pLogFile->ftextOut("loadSound : loaded sound %s of %d bytes.<br>", searchname.c_str(), m_soundlength);
m_hqsound.enabled = false;