From c2ec2851753ad7c65308108cecc5f652915a990f Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Tue, 15 Nov 2011 10:23:35 +0100 Subject: DREAMWEB: Fix regression in obicons This fixes the 'use' icon on the winch controls. Regression from 1f531c6f7fc90d78a4d14cda377e5aed7c7f4eb0. Thanks to fuzzie for spotting it. --- engines/dreamweb/object.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp index 2712bc965b..277ad20927 100644 --- a/engines/dreamweb/object.cpp +++ b/engines/dreamweb/object.cpp @@ -103,11 +103,12 @@ void DreamGenContext::obpicture() { void DreamGenContext::obicons() { uint8 value1, value2; getanyad(&value1, &value2); - if (value1 == 0xff) { - showframe((Frame *)segRef(data.word(kIcons2)).ptr(0, 0), 260, 1, 1, 0); - } else { + if (value1 != 0xff) { + // can open it showframe((Frame *)segRef(data.word(kIcons2)).ptr(0, 0), 210, 1, 4, 0); } + + showframe((Frame *)segRef(data.word(kIcons2)).ptr(0, 0), 260, 1, 1, 0); } void DreamGenContext::examineob(bool examineAgain) { -- cgit v1.2.3