aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Špalek2009-11-08 05:47:39 +0000
committerRobert Špalek2009-11-08 05:47:39 +0000
commitbea00d86cbf6c41e5a93e97fd13f9e2cf1d00361 (patch)
treef648af30862a501d4f173ae4c3a7df3e5212bc67
parent0640b5e402d596e9e18e0cd1ff58fa68cd17c38a (diff)
downloadscummvm-rg350-bea00d86cbf6c41e5a93e97fd13f9e2cf1d00361.tar.gz
scummvm-rg350-bea00d86cbf6c41e5a93e97fd13f9e2cf1d00361.tar.bz2
scummvm-rg350-bea00d86cbf6c41e5a93e97fd13f9e2cf1d00361.zip
Tuned Z-coordinate of the dragon.
Adding +1 made the dragon sometimes flip before an object when it should have been behind. svn-id: r45745
-rw-r--r--engines/draci/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index 23a037e5e7..c87034bdea 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -1473,7 +1473,7 @@ void Game::positionAnimAsHero(Animation *anim) {
const double scale = getPers0() + getPersStep() * _hero.y;
// Set the Z coordinate for the dragon's animation
- anim->setZ(_hero.y + 1);
+ anim->setZ(_hero.y);
// Fetch current frame
Drawable *frame = anim->getCurrentFrame();