Mercurial > mm7
diff Player.cpp @ 2113:a94c5bee0225
SoundVolume options
author | Ritor1 |
---|---|
date | Mon, 23 Dec 2013 00:48:53 +0600 |
parents | a290d9fbdc95 |
children | 92511cd8fcdb |
line wrap: on
line diff
--- a/Player.cpp Sat Dec 21 23:33:36 2013 +0600 +++ b/Player.cpp Mon Dec 23 00:48:53 2013 +0600 @@ -579,11 +579,11 @@ { for (int i = 0; i < pSoundList->sNumSounds; i++) { - if (pSoundList->pSounds[i].uSoundID == pickedSoundID) + if (pSoundList->pSL_Sounds[i].uSoundID == pickedSoundID) pSoundID = i; } } - if ( pSoundList->pSounds[pSoundID].pSoundData[0] ) + if ( pSoundList->pSL_Sounds[pSoundID].pSoundData[0] ) expressionDuration = (sLastTrackLengthMS << 7) / 1000; } PlayEmotion(expression, expressionDuration);