aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent/scene.cpp')
-rw-r--r--engines/teenagent/scene.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp
index b1abd902e8..a7f3ae0919 100644
--- a/engines/teenagent/scene.cpp
+++ b/engines/teenagent/scene.cpp
@@ -383,6 +383,13 @@ 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) {
Surface *s = ons + i;
@@ -488,10 +495,6 @@ bool Scene::render(OSystem *system) {
}
}
- //render on
- if (on.pixels != NULL) {
- on.render(surface);
- }
if (!message.empty()) {
bool visible = true;