From ee2215eaeec86cfe55c28ddc438d8f1d55a1add0 Mon Sep 17 00:00:00 2001 From: Vladimir Menshakov Date: Sun, 21 Mar 2010 07:13:13 +0000 Subject: reverted the z-order patch. svn-id: r48348 --- engines/teenagent/scene.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'engines/teenagent/scene.cpp') diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index 2e2571bd96..b406bcc00a 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -731,10 +731,6 @@ bool Scene::render(bool tick_game, bool tick_mark, uint32 delta) { s->render(surface); } - if (mark != NULL && debug_features.feature[DebugFeatures::kShowOn]) { - on.render(surface, actor_animation_position); - } - if (mark != NULL) { actor_animation_position = mark->render(surface); if (!actor_animation.ignore) @@ -813,7 +809,7 @@ bool Scene::render(bool tick_game, bool tick_mark, uint32 delta) { } //removed mark == null. In final scene of chapter 2 mark rendered above table. //if it'd cause any bugs, add hack here. (_id != 23 && mark == NULL) - if (mark == NULL && debug_features.feature[DebugFeatures::kShowOn]) { + if (debug_features.feature[DebugFeatures::kShowOn]) { on.render(surface, actor_animation_position); } -- cgit v1.2.3