aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorVladimir Menshakov2009-11-08 20:37:33 +0000
committerVladimir Menshakov2009-11-08 20:37:33 +0000
commit63c6918a8cd994eb4199938b82b93afdd3cbcfc3 (patch)
tree90ebd711dde49a880eb1a98f3ea12e428581a2b3 /engines/teenagent
parent1477c85697f07327d752da04144f728bfa091042 (diff)
downloadscummvm-rg350-63c6918a8cd994eb4199938b82b93afdd3cbcfc3.tar.gz
scummvm-rg350-63c6918a8cd994eb4199938b82b93afdd3cbcfc3.tar.bz2
scummvm-rg350-63c6918a8cd994eb4199938b82b93afdd3cbcfc3.zip
clear current_event only on async messages
svn-id: r45758
Diffstat (limited to 'engines/teenagent')
-rw-r--r--engines/teenagent/scene.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp
index 4cf3802881..5d6b8cb26b 100644
--- a/engines/teenagent/scene.cpp
+++ b/engines/teenagent/scene.cpp
@@ -617,7 +617,9 @@ bool Scene::processEventQueue() {
}
message_pos = messagePosition(message, p);
message_color = current_event.color;
- current_event.clear();
+
+ if (message_first_frame)
+ current_event.clear(); //async message, clearing event
}
break;