diff options
author | Sven Hesse | 2011-07-23 15:37:33 +0200 |
---|---|---|
committer | Sven Hesse | 2011-07-23 15:39:38 +0200 |
commit | 74e43312f73d86962df54edb2910cf4dec30ae89 (patch) | |
tree | 081c6db850d42a48c10b07b8a23bd0d1128bf0fb /engines/gob | |
parent | e4427fd5893953271739ee55ae12a4712272c3b0 (diff) | |
download | scummvm-rg350-74e43312f73d86962df54edb2910cf4dec30ae89.tar.gz scummvm-rg350-74e43312f73d86962df54edb2910cf4dec30ae89.tar.bz2 scummvm-rg350-74e43312f73d86962df54edb2910cf4dec30ae89.zip |
GOB: Fix missing sound effects in Woodruff (bug #3374170)
Another regression of the CoktelDecoder rewrite.
Thanks to digitall for finding the offending commit. :)
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/scenery.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/scenery.cpp b/engines/gob/scenery.cpp index bb50818ed8..33fdfcaa2a 100644 --- a/engines/gob/scenery.cpp +++ b/engines/gob/scenery.cpp @@ -622,7 +622,7 @@ void Scenery::updateAnim(int16 layer, int16 frame, int16 animation, int16 flags, if (frame >= (int32)_vm->_vidPlayer->getFrameCount(obj.videoSlot - 1)) frame = _vm->_vidPlayer->getFrameCount(obj.videoSlot - 1) - 1; - if (_vm->_vidPlayer->getCurrentFrame(obj.videoSlot - 1) >= 255) { + if ((int32)_vm->_vidPlayer->getCurrentFrame(obj.videoSlot - 1) >= 255) { // Allow for object videos with more than 255 frames, although the // object frame counter is just a byte. |