diff options
author | Johannes Schickel | 2006-01-12 13:16:42 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-01-12 13:16:42 +0000 |
commit | 2416254e494d93b52009548f940f7ca28bc4db6d (patch) | |
tree | a817a40a50d3a8d1e8657958db5fe7f22c300057 /kyra/sprites.cpp | |
parent | b3826575393d324f703e733a99468b97ccc0456c (diff) | |
download | scummvm-rg350-2416254e494d93b52009548f940f7ca28bc4db6d.tar.gz scummvm-rg350-2416254e494d93b52009548f940f7ca28bc4db6d.tar.bz2 scummvm-rg350-2416254e494d93b52009548f940f7ca28bc4db6d.zip |
Implemented 'ingame' sound handling, and named the unknown opcodes from the cd version
and 'implemented' them.
svn-id: r19988
Diffstat (limited to 'kyra/sprites.cpp')
-rw-r--r-- | kyra/sprites.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kyra/sprites.cpp b/kyra/sprites.cpp index 91563d2ee5..3e9f3e6064 100644 --- a/kyra/sprites.cpp +++ b/kyra/sprites.cpp @@ -347,7 +347,7 @@ void Sprites::updateSceneAnims() { data += 2; debug(6, "func: Play sound"); debug(6, "Sound index %i", READ_LE_UINT16(data)); - //_engine->snd_playSoundEffect(READ_LE_UINT16(data)); + _engine->snd_playSoundEffect(READ_LE_UINT16(data)); data += 2; break; case 0xFFB1: @@ -366,8 +366,8 @@ void Sprites::updateSceneAnims() { data += 2; debug(6, "Percentage %i", READ_LE_UINT16(data)); rndNr = _rnd.getRandomNumber(100); - //if (rndNr <= READ_LE_UINT16(data)) - //_engine->snd_playSoundEffect(sound); + if (rndNr <= READ_LE_UINT16(data)) + _engine->snd_playSoundEffect(sound); data += 2; break; case 0xFFA7: |