Mercurial > mm7
diff AudioPlayer.cpp @ 28:739d8f3b50f9
ReleaseSoundData fix
author | zipi@zipi-PC |
---|---|
date | Sat, 19 Jan 2013 16:15:06 +0000 |
parents | 352b15291822 |
children | 1faa29fd4c2d |
line wrap: on
line diff
--- a/AudioPlayer.cpp Fri Jan 18 20:17:38 2013 +0600 +++ b/AudioPlayer.cpp Sat Jan 19 16:15:06 2013 +0000 @@ -2525,7 +2525,7 @@ { v2 += 128; ++pID; - if ( (signed int)v2 >= (signed int)&pAudioPlayer->p3DSamples[6].field_8 ) + if ( v2 > (void *)&pSounds[2999].pSoundData)//(signed int)&pAudioPlayer->p3DSamples[6].field_8 ) return; } pAllocator->FreeChunk(_this);