diff options
| author | Vladimir Menshakov | 2009-11-09 23:22:10 +0000 |
|---|---|---|
| committer | Vladimir Menshakov | 2009-11-09 23:22:10 +0000 |
| commit | 1c5d8849ab61a02fad4f1930fb655bcd085997ca (patch) | |
| tree | 94f8261ee3f217b24941d4e12123e10001ecb95c | |
| parent | 49c443149f3bacf0bd47c66dfea807a7e7b87ad4 (diff) | |
| download | scummvm-rg350-1c5d8849ab61a02fad4f1930fb655bcd085997ca.tar.gz scummvm-rg350-1c5d8849ab61a02fad4f1930fb655bcd085997ca.tar.bz2 scummvm-rg350-1c5d8849ab61a02fad4f1930fb655bcd085997ca.zip | |
fixed rendering order again
svn-id: r45789
| -rw-r--r-- | engines/teenagent/scene.cpp | 13 |
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; |
