aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 8ba698c26e..97604887f2 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -1101,7 +1101,7 @@ void Scumm_v6::o6_putActorInRoom()
if (!a)
return;
- if (room == 0xFF) {
+ if (room == 0xFF || room == 0x7FFFFFFF) {
room = a->room;
} else {
if (a->visible && _currentRoom != room && _vars[VAR_TALK_ACTOR] == a->number) {