diff options
author | Willem Jan Palenstijn | 2011-12-18 14:08:32 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-18 14:08:32 +0100 |
commit | f0508dd05a2840a98f98d3a215b5a859d757e653 (patch) | |
tree | 854224daa4c472cd37c94fb7b976fb29ddc5c4a4 | |
parent | cf73ee9939fae986db922a2551544277d8d48449 (diff) | |
download | scummvm-rg350-f0508dd05a2840a98f98d3a215b5a859d757e653.tar.gz scummvm-rg350-f0508dd05a2840a98f98d3a215b5a859d757e653.tar.bz2 scummvm-rg350-f0508dd05a2840a98f98d3a215b5a859d757e653.zip |
DREAMWEB: Fix regression in useWinch
-rw-r--r-- | engines/dreamweb/use.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp index 06cb5a9131..5a80a33bd5 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(); |