aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/teenagent/scene.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp
index bf37133bcd..4382655799 100644
--- a/engines/teenagent/scene.cpp
+++ b/engines/teenagent/scene.cpp
@@ -383,12 +383,6 @@ bool Scene::render(OSystem *system) {
Graphics::Surface *surface = system->lockScreen();
- //render on
- if (on.pixels != NULL) {
- if (_id != 16 || getOns(16)[0] != 0) {
- on.render(surface); //do not render boat on isle. I double checked all callbacks, there's no code switching off the boat :(
- }
- }
if (ons != NULL) {
for (uint32 i = 0; i < ons_count; ++i) {
@@ -501,6 +495,13 @@ bool Scene::render(OSystem *system) {
}
}
+ //render on
+ if (on.pixels != NULL) {
+ if (_id != 16 || getOns(16)[0] != 0) {
+ on.render(surface); //do not render boat on isle. I double checked all callbacks, there's no code switching off the boat :(
+ }
+ }
+
if (!message.empty()) {
bool visible = true;