aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dreamweb/object.cpp')
-rw-r--r--engines/dreamweb/object.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp
index 249c275a3f..bcdf2e5eb9 100644
--- a/engines/dreamweb/object.cpp
+++ b/engines/dreamweb/object.cpp
@@ -218,10 +218,7 @@ void DreamWebEngine::inventory() {
return;
}
- if (_commandType != 239) {
- _commandType = 239;
- commandOnly(32);
- }
+ commandOnlyCond(32, 239);
if (_mouseButton == _oldButton)
return;