[Scummvm-cvs-logs] scummvm master -> f0508dd05a2840a98f98d3a215b5a859d757e653
wjp
wjp at usecode.org
Sun Dec 18 14:09:27 CET 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:
f0508dd05a DREAMWEB: Fix regression in useWinch
Commit: f0508dd05a2840a98f98d3a215b5a859d757e653
https://github.com/scummvm/scummvm/commit/f0508dd05a2840a98f98d3a215b5a859d757e653
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2011-12-18T05:08:32-08:00
Commit Message:
DREAMWEB: Fix regression in useWinch
Changed paths:
engines/dreamweb/use.cpp
diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp
index 06cb5a9..5a80a33 100644
--- a/engines/dreamweb/use.cpp
+++ b/engines/dreamweb/use.cpp
@@ -994,7 +994,8 @@ void DreamGenContext::useObject() {
}
void DreamGenContext::useWinch() {
- if (checkInside(40, 1) == kNumexobjects || !compare(cl, 4, "FUSE")) {
+ uint16 contentIndex = checkInside(40, 1);
+ if (contentIndex == kNumexobjects || !compare(contentIndex, kExObjectType, "FUSE")) {
// No winch
showFirstUse();
putBackObStuff();
More information about the Scummvm-git-logs
mailing list