[Scummvm-cvs-logs] scummvm master -> 74e43312f73d86962df54edb2910cf4dec30ae89
DrMcCoy
drmccoy at drmccoy.de
Sat Jul 23 15:41:22 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
74e43312f7 GOB: Fix missing sound effects in Woodruff (bug #3374170)
Commit: 74e43312f73d86962df54edb2910cf4dec30ae89
https://github.com/scummvm/scummvm/commit/74e43312f73d86962df54edb2910cf4dec30ae89
Author: Sven Hesse (drmccoy at users.sourceforge.net)
Date: 2011-07-23T06:39:38-07:00
Commit Message:
GOB: Fix missing sound effects in Woodruff (bug #3374170)
Another regression of the CoktelDecoder rewrite.
Thanks to digitall for finding the offending commit. :)
Changed paths:
engines/gob/scenery.cpp
diff --git a/engines/gob/scenery.cpp b/engines/gob/scenery.cpp
index bb50818..33fdfca 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.
More information about the Scummvm-git-logs
mailing list