Mercurial > mm7
diff mm7_2.cpp @ 1996:f7e8c4d4a01b
sound id fix
author | zipi |
---|---|
date | Sun, 03 Nov 2013 14:29:45 +0000 |
parents | ef4dcee1b4a1 |
children | 985fff9fb62d |
line wrap: on
line diff
--- a/mm7_2.cpp Sun Nov 03 13:33:37 2013 +0000 +++ b/mm7_2.cpp Sun Nov 03 14:29:45 2013 +0000 @@ -6011,7 +6011,7 @@ v16 = (signed __int16)pSpriteObjects[uLayingItemID].uSoundID + 4; v124 = 8 * v153; LOBYTE(v124) = v124 | 2; - v125 = word_4EE088_sound_ids[pSpriteObjects[uLayingItemID].spell_id - 1] + 1; + v125 = word_4EE088_sound_ids[pSpriteObjects[uLayingItemID].spell_id] + 1; pAudioPlayer->PlaySound((SoundID)v125, v124, 0, -1, 0, v16, 0, 0); return 0; }