aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/teenagent/scene.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp
index ac3ce11e7d..d6a4e89915 100644
--- a/engines/teenagent/scene.cpp
+++ b/engines/teenagent/scene.cpp
@@ -380,10 +380,6 @@ bool Scene::render(OSystem *system) {
}
}
- //render on
- if (on.pixels != NULL) {
- on.render(surface);
- }
bool got_any_animation = false;
@@ -478,6 +474,11 @@ bool Scene::render(OSystem *system) {
}
}
+ //render on
+ if (on.pixels != NULL) {
+ on.render(surface);
+ }
+
if (!message.empty()) {
res->font7.color = message_color;
res->font7.render(surface, message_pos.x, message_pos.y, message);