Skip to content

Commit

Permalink
GOB: Fix missing sound effects in Woodruff (bug #3374170)
Browse files Browse the repository at this point in the history
Another regression of the CoktelDecoder rewrite.
Thanks to digitall for finding the offending commit. :)
  • Loading branch information
DrMcCoy committed Jul 23, 2011
1 parent e4427fd commit 74e4331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/gob/scenery.cpp
Expand Up @@ -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.

Expand Down

0 comments on commit 74e4331

Please sign in to comment.