diff options
author | Vladimir Menshakov | 2010-01-08 10:39:00 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2010-01-08 10:39:00 +0000 |
commit | 35e01ef29a7859f9545d9273b41bc60b1bb18ec5 (patch) | |
tree | 7e416be06d3b657d03046ff703e811eabeba6df2 /engines/teenagent | |
parent | adcb8cfa7d27ecfb4d2788a8b46ce4c8a6df6c94 (diff) | |
download | scummvm-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.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; |