[Scummvm-cvs-logs] SF.net SVN: scummvm:[46908] scummvm/trunk/engines/teenagent/scene.cpp
megath at users.sourceforge.net
megath at users.sourceforge.net
Sun Jan 3 02:06:43 CET 2010
Revision: 46908
http://scummvm.svn.sourceforge.net/scummvm/?rev=46908&view=rev
Author: megath
Date: 2010-01-03 01:06:42 +0000 (Sun, 03 Jan 2010)
Log Message:
-----------
fixed h/v animation switch ratio
Modified Paths:
--------------
scummvm/trunk/engines/teenagent/scene.cpp
Modified: scummvm/trunk/engines/teenagent/scene.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/scene.cpp 2010-01-03 00:57:20 UTC (rev 46907)
+++ scummvm/trunk/engines/teenagent/scene.cpp 2010-01-03 01:06:42 UTC (rev 46908)
@@ -685,7 +685,7 @@
Common::Point dp(destination.x - position.x, destination.y - position.y);
int o;
- if (ABS(dp.x) > 3 * ABS(dp.y))
+ if (ABS(dp.x) > ABS(dp.y))
o = dp.x > 0 ? kActorRight : kActorLeft;
else
o = dp.y > 0 ? kActorDown : kActorUp;
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