diff options
-rw-r--r-- | scumm/script_v6.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 11c3ea515f..b03bf4a20e 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1177,7 +1177,11 @@ void ScummEngine_v6::o6_putActorAtObject() { int room, obj, x, y; Actor *a; - obj = popRoomAndObj(&room); + if (_features & GF_HUMONGOUS) { + room = pop(); + obj = pop(); + } else + obj = popRoomAndObj(&room); a = derefActor(pop(), "o6_putActorAtObject"); if (whereIsObject(obj) != WIO_NOT_FOUND) { @@ -1257,7 +1261,11 @@ void ScummEngine_v6::o6_loadRoomWithEgo() { y = pop(); x = pop(); - obj = popRoomAndObj(&room); + if (_features & GF_HUMONGOUS) { + room = pop(); + obj = pop(); + } else + obj = popRoomAndObj(&room); a = derefActor(VAR(VAR_EGO), "o6_loadRoomWithEgo"); a->putActor(0, 0, room); |