diff options
author | Vladimir Menshakov | 2009-11-08 20:01:07 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-11-08 20:01:07 +0000 |
commit | 1477c85697f07327d752da04144f728bfa091042 (patch) | |
tree | f3770d4991b78f7c9277e3690ed1f225c9b8fad0 /engines/teenagent/scene.cpp | |
parent | 54d163c9661d86ab6d4364dde208e28ce42553d3 (diff) | |
download | scummvm-rg350-1477c85697f07327d752da04144f728bfa091042.tar.gz scummvm-rg350-1477c85697f07327d752da04144f728bfa091042.tar.bz2 scummvm-rg350-1477c85697f07327d752da04144f728bfa091042.zip |
fixed typo
svn-id: r45757
Diffstat (limited to 'engines/teenagent/scene.cpp')
-rw-r--r-- | engines/teenagent/scene.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index c8f3947bad..4cf3802881 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -490,8 +490,10 @@ bool Scene::render(OSystem *system) { int index = actor_animation.currentIndex() + 1; if (index < message_first_frame) visible = false; - if (index > message_last_frame) + if (index > message_last_frame) { clearMessage(); + visible = false; + } } if (visible) { |