diff options
author | Travis Howell | 2004-06-28 01:09:41 +0000 |
---|---|---|
committer | Travis Howell | 2004-06-28 01:09:41 +0000 |
commit | 0b045875ca359c5f4a4040f081cb2d7bba2f743a (patch) | |
tree | 25bdda147b4151c0de88aca789e1cf359d6142d1 /scumm | |
parent | a25f70661bdd7e6e777a7c8934761a074da499cd (diff) | |
download | scummvm-rg350-0b045875ca359c5f4a4040f081cb2d7bba2f743a.tar.gz scummvm-rg350-0b045875ca359c5f4a4040f081cb2d7bba2f743a.tar.bz2 scummvm-rg350-0b045875ca359c5f4a4040f081cb2d7bba2f743a.zip |
Fix missing sound effects in puttdemo (DOS)
svn-id: r14097
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/costume.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp index 72e3b70c90..bb806c96a2 100644 --- a/scumm/costume.cpp +++ b/scumm/costume.cpp @@ -843,7 +843,8 @@ byte LoadedCostume::increaseAnim(Actor *a, int slot) { } else { if (_vm->_version >= 6) { if (nc >= 0x71 && nc <= 0x78) { - _vm->_sound->addSoundToQueue2(a->sound[nc - 0x71]); + uint sound = (_vm->_features & GF_HUMONGOUS) ? 0x78 - nc : nc - 0x71; + _vm->_sound->addSoundToQueue2(a->sound[sound]); if (a->cost.start[slot] != end) continue; } |