diff options
author | Filippos Karapetis | 2011-12-17 15:50:48 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-17 15:50:48 +0200 |
commit | 956abddc5ce30bf29bb7df84f3eb3f74076d57e0 (patch) | |
tree | 8f9cb674492ec3124b648c787e01a80a44b42de3 | |
parent | b1edf2446251a0141fae38ad0bff42d2a639a1bf (diff) | |
download | scummvm-rg350-956abddc5ce30bf29bb7df84f3eb3f74076d57e0.tar.gz scummvm-rg350-956abddc5ce30bf29bb7df84f3eb3f74076d57e0.tar.bz2 scummvm-rg350-956abddc5ce30bf29bb7df84f3eb3f74076d57e0.zip |
DREAMWEB: Fix regression in selectOb() (thanks wjp)
-rw-r--r-- | engines/dreamweb/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp index d376f915e5..3cea2a5c2f 100644 --- a/engines/dreamweb/object.cpp +++ b/engines/dreamweb/object.cpp @@ -399,7 +399,7 @@ void DreamGenContext::selectOb() { } data.byte(kWithobject) = objectId & 0x00FF; - data.byte(kWithtype) = objectId & 0xFF00; + data.byte(kWithtype) = objectId >> 8; if (objectId == data.word(kOldsubject) && data.byte(kCommandtype) != 221) data.byte(kCommandtype) = 221; |