DREAMWEB: Fix regression in selectOb() (thanks wjp)

This commit is contained in:
Filippos Karapetis 2011-12-17 15:50:48 +02:00
parent b1edf24462
commit 956abddc5c

View file

@ -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;