diff options
-rw-r--r-- | engines/teenagent/scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index a9a1a92c07..5393275a60 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -664,7 +664,7 @@ bool Scene::render(bool tick_game, bool tick_mark, uint32 message_delta) { Common::List<Surface *>::iterator z_order_it; Surface *mark = actor_animation.currentFrame(game_delta); - int horizon = mark != NULL? mark->y + mark->h: position.y; + int horizon = position.y; for(z_order_it = z_order.begin(); z_order_it != z_order.end(); ++z_order_it) { Surface *s = *z_order_it; |