aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-06 18:33:42 +0200
committerFilippos Karapetis2011-12-06 18:33:42 +0200
commit6f2f8976ccbaeff14667373712adfdba526b5bf2 (patch)
tree6339301de834392324769bb413ef70a99f6413c8
parent36ea44ea91479f5d6b9ffc27697a86dbf7fffdf1 (diff)
downloadscummvm-rg350-6f2f8976ccbaeff14667373712adfdba526b5bf2.tar.gz
scummvm-rg350-6f2f8976ccbaeff14667373712adfdba526b5bf2.tar.bz2
scummvm-rg350-6f2f8976ccbaeff14667373712adfdba526b5bf2.zip
DREAMWEB: Fix regression in useObject() from f2829a6
-rw-r--r--engines/dreamweb/use.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp
index 96df77b955..e37e8d4e93 100644
--- a/engines/dreamweb/use.cpp
+++ b/engines/dreamweb/use.cpp
@@ -877,7 +877,7 @@ void DreamGenContext::useObject() {
if (data.byte(kCommandtype) != 229) {
data.byte(kCommandtype) = 229;
- commandWithOb(data.byte(kCommand), data.byte(kObjecttype), 51);
+ commandWithOb(51, data.byte(kObjecttype), data.byte(kCommand));
}
if (data.word(kMousebutton) == data.word(kOldbutton))