aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/dreamweb/use.cpp3
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();