aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r--scumm/script_v5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 9d93ac4b93..52343096f4 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1648,7 +1648,7 @@ void ScummEngine_v5::o5_putActorInRoom() {
a = derefActor(act, "o5_putActorInRoom");
- if (a->visible && _currentRoom != room && VAR(VAR_TALK_ACTOR) == a->number) {
+ if (a->visible && _currentRoom != room && talkingActor() == a->number) {
clearMsgQueue();
}
a->room = room;