aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorVladimir Menshakov2010-01-08 10:39:00 +0000
committerVladimir Menshakov2010-01-08 10:39:00 +0000
commit35e01ef29a7859f9545d9273b41bc60b1bb18ec5 (patch)
tree7e416be06d3b657d03046ff703e811eabeba6df2 /engines/teenagent
parentadcb8cfa7d27ecfb4d2788a8b46ce4c8a6df6c94 (diff)
downloadscummvm-rg350-35e01ef29a7859f9545d9273b41bc60b1bb18ec5.tar.gz
scummvm-rg350-35e01ef29a7859f9545d9273b41bc60b1bb18ec5.tar.bz2
scummvm-rg350-35e01ef29a7859f9545d9273b41bc60b1bb18ec5.zip
removed mark's animation z-odering, which seems to be invalid
svn-id: r47149
Diffstat (limited to 'engines/teenagent')
-rw-r--r--engines/teenagent/scene.cpp2
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;