[Scummvm-cvs-logs] SF.net SVN: scummvm:[45745] scummvm/trunk/engines/draci/game.cpp

spalek at users.sourceforge.net spalek at users.sourceforge.net
Sun Nov 8 06:47:39 CET 2009


Revision: 45745
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45745&view=rev
Author:   spalek
Date:     2009-11-08 05:47:39 +0000 (Sun, 08 Nov 2009)

Log Message:
-----------
Tuned Z-coordinate of the dragon.

Adding +1 made the dragon sometimes flip before an object when it should
have been behind.

Modified Paths:
--------------
    scummvm/trunk/engines/draci/game.cpp

Modified: scummvm/trunk/engines/draci/game.cpp
===================================================================
--- scummvm/trunk/engines/draci/game.cpp	2009-11-08 05:44:50 UTC (rev 45744)
+++ scummvm/trunk/engines/draci/game.cpp	2009-11-08 05:47:39 UTC (rev 45745)
@@ -1473,7 +1473,7 @@
 	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();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list