aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Menshakov2009-12-12 10:50:41 +0000
committerVladimir Menshakov2009-12-12 10:50:41 +0000
commit17435a0b6cd0b9cd3751f30598687e730d9af255 (patch)
tree06dd750e6a3bf5e8307cefedfa6bfd15eab203c9
parentcc22b76c3b7bda4532f82a6eb11aa1a62479366e (diff)
downloadscummvm-rg350-17435a0b6cd0b9cd3751f30598687e730d9af255.tar.gz
scummvm-rg350-17435a0b6cd0b9cd3751f30598687e730d9af255.tar.bz2
scummvm-rg350-17435a0b6cd0b9cd3751f30598687e730d9af255.zip
render 'ons' after all stuff (needs to be discovered), fixed crumbs invisibility on screen with barman
svn-id: r46335
-rw-r--r--engines/teenagent/scene.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp
index dfe74fc0e8..a8cda4b2a5 100644
--- a/engines/teenagent/scene.cpp
+++ b/engines/teenagent/scene.cpp
@@ -535,14 +535,6 @@ bool Scene::render(OSystem *system) {
bool got_any_animation = false;
- if (ons != NULL && debug_features.feature[DebugFeatures::kShowOns]) {
- for (uint32 i = 0; i < ons_count; ++i) {
- Surface *s = ons + i;
- if (s != NULL)
- s->render(surface);
- }
- }
-
for (byte i = 0; i < 4; ++i) {
Animation *a = custom_animation + i;
Surface *s = a->currentFrame();
@@ -662,6 +654,14 @@ bool Scene::render(OSystem *system) {
}
}
+ if (ons != NULL && debug_features.feature[DebugFeatures::kShowOns]) {
+ for (uint32 i = 0; i < ons_count; ++i) {
+ Surface *s = ons + i;
+ if (s != NULL)
+ s->render(surface);
+ }
+ }
+
if (!message.empty()) {
bool visible = true;
if (message_first_frame != 0 && message_animation != NULL) {