From f0508dd05a2840a98f98d3a215b5a859d757e653 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Sun, 18 Dec 2011 14:08:32 +0100 Subject: DREAMWEB: Fix regression in useWinch --- engines/dreamweb/use.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3