Mercurial > might-and-magic-trilogy
diff AudioPlayer.cpp @ 199:10ae648c8d20
Слияние
author | Ritor1 |
---|---|
date | Sat, 29 Dec 2012 14:18:20 +0600 |
parents | 6109a4e23903 |
children | 22730e77fa32 |
line wrap: on
line diff
--- a/AudioPlayer.cpp Sat Dec 29 14:18:06 2012 +0600 +++ b/AudioPlayer.cpp Sat Dec 29 14:18:20 2012 +0600 @@ -715,7 +715,7 @@ LODWORD(v93) = 10000; if ( v35 || !uSoundVolumeMultiplier || !this->hDigDriver || !eSoundID ) return; - /*pNum = 0; + pNum = 0; if ( (signed int)pSoundList->uNumSounds <= 0 ) { LABEL_9: @@ -732,12 +732,12 @@ goto LABEL_9; } } - v92 = pNum;//38 */ - pNum = 0; + /* v92 = pNum;//38 + pNum = 0; for ( pSoundID = (int *)&pSoundList->pSounds->uSoundID; *pSoundID != eSoundID; pSoundID += 30) { ++pNum; - } + }*/ if ( !pNum ) return; if ( !pAudioPlayer->b3DSoundInitialized || (v89 = 120 * pNum, !(pSoundList->pSounds[pNum].uFlags & 2)) )