diff options
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r-- | scumm/script_v7he.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp index 6950a887d3..7fa5154312 100644 --- a/scumm/script_v7he.cpp +++ b/scumm/script_v7he.cpp @@ -599,7 +599,8 @@ void ScummEngine_v70he::o70_resourceRoutines() { break; case 119: // SO_LOAD_OBJECT { - int room, obj = popRoomAndObj(&room); + int obj = pop(); + int room = getObjectRoom(obj); loadFlObject(obj, room); break; } |