diff options
author | Willem Jan Palenstijn | 2011-11-15 10:23:35 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-15 10:27:49 +0100 |
commit | c2ec2851753ad7c65308108cecc5f652915a990f (patch) | |
tree | 5696ac10b3ed133ffe770d4e8b6f736eb88dff17 /engines/dreamweb/object.cpp | |
parent | e2ca95c5add8d2f68a48e44541fc42f364045294 (diff) | |
download | scummvm-rg350-c2ec2851753ad7c65308108cecc5f652915a990f.tar.gz scummvm-rg350-c2ec2851753ad7c65308108cecc5f652915a990f.tar.bz2 scummvm-rg350-c2ec2851753ad7c65308108cecc5f652915a990f.zip |
DREAMWEB: Fix regression in obicons
This fixes the 'use' icon on the winch controls.
Regression from 1f531c6f7fc90d78a4d14cda377e5aed7c7f4eb0.
Thanks to fuzzie for spotting it.
Diffstat (limited to 'engines/dreamweb/object.cpp')
-rw-r--r-- | engines/dreamweb/object.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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) { |