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 | |
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
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | scumm/costume.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
@@ -285,7 +285,6 @@ SCUMM - Fix creature behind garage door disappearing in moondemo - Fix remaining masking issues, when cars come out of garages in puttputt and when Putt-Putt gets off the chair in Cosmic Dust Diner of puttmoon - - Fix missing sound effects in puttdemo - Fix 'costume x undefined x x' errors in veggie head mini game of fbear - Document and fix AKOS differences in Humongous Entertainment games - Support various newer Humongous Entertainment games 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; } |