DREAMWEB: Fix regression in selectOb() (thanks wjp)
This commit is contained in:
parent
b1edf24462
commit
956abddc5c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue