[Scummvm-cvs-logs] scummvm master -> 52f8b6dfe05a419e26cb24b6e3c9262e85a9ffaf
dreammaster
dreammaster at scummvm.org
Sat Feb 13 02:10:12 CET 2016
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:
52f8b6dfe0 SHERLOCK: RT: Work around bad animation frame data in German version
Commit: 52f8b6dfe05a419e26cb24b6e3c9262e85a9ffaf
https://github.com/scummvm/scummvm/commit/52f8b6dfe05a419e26cb24b6e3c9262e85a9ffaf
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-02-12T20:09:40-05:00
Commit Message:
SHERLOCK: RT: Work around bad animation frame data in German version
Changed paths:
engines/sherlock/objects.cpp
diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp
index 1372605..2a728f6 100644
--- a/engines/sherlock/objects.cpp
+++ b/engines/sherlock/objects.cpp
@@ -1338,7 +1338,7 @@ void Object::adjustObject() {
frame = 0;
int imgNum = _sequences[frame];
- if (imgNum > _maxFrames)
+ if (imgNum > _maxFrames || imgNum == 0)
imgNum = 1;
_imageFrame = &(*_images)[imgNum - 1];
More information about the Scummvm-git-logs
mailing list