mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 15:18:11 +00:00
we want a word not a byte for object numbers, bug pointed out by Hoenicke
svn-id: r7882
This commit is contained in:
parent
fa33a173ac
commit
9b0e0d14db
@ -1036,7 +1036,7 @@ void Scumm_v2::o2_putActorAtObject() {
|
||||
|
||||
a = derefActor(getVarOrDirectByte(0x80), "o2_putActorAtObject");
|
||||
|
||||
obj = getVarOrDirectByte(0x40);
|
||||
obj = getVarOrDirectWord(0x40);
|
||||
if (whereIsObject(obj) != WIO_NOT_FOUND)
|
||||
getObjectXYPos(obj, x, y);
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user