we want a word not a byte for object numbers, bug pointed out by Hoenicke

svn-id: r7882
This commit is contained in:
Jonathan Gray 2003-05-24 10:39:13 +00:00
parent fa33a173ac
commit 9b0e0d14db

View File

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