diff options
author | Vladimir Menshakov | 2009-11-07 22:23:41 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-11-07 22:23:41 +0000 |
commit | 286e71fdcf8b41599891a073a42d20f9dae5294f (patch) | |
tree | bf535bfae39037df075a35c7d599f59211406c3c /engines/teenagent/scene.cpp | |
parent | c2a5b3feea0c4428480a4c1864d031266b4103fc (diff) | |
download | scummvm-rg350-286e71fdcf8b41599891a073a42d20f9dae5294f.tar.gz scummvm-rg350-286e71fdcf8b41599891a073a42d20f9dae5294f.tar.bz2 scummvm-rg350-286e71fdcf8b41599891a073a42d20f9dae5294f.zip |
fixed rendering order
svn-id: r45735
Diffstat (limited to 'engines/teenagent/scene.cpp')
-rw-r--r-- | engines/teenagent/scene.cpp | 9 |
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); |