[Scummvm-cvs-logs] SF.net SVN: scummvm:[46907] scummvm/trunk/engines/teenagent/scene.cpp

megath at users.sourceforge.net megath at users.sourceforge.net
Sun Jan 3 01:57:20 CET 2010


Revision: 46907
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46907&view=rev
Author:   megath
Date:     2010-01-03 00:57:20 +0000 (Sun, 03 Jan 2010)

Log Message:
-----------
fixed vertical/horizontal speed 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:55:56 UTC (rev 46906)
+++ scummvm/trunk/engines/teenagent/scene.cpp	2010-01-03 00:57:20 UTC (rev 46907)
@@ -677,7 +677,7 @@
 				uint zoom = lookupZoom(position.y);
 
 				if (!path.empty()) {
-					int speed_x = 4 * zoom / 256, speed_y = 3 * zoom / 256;
+					int speed_x = 4 * zoom / 256, speed_y = 1 * zoom / 256;
 					if ((teenagent.currentIndex() % 5) == 0)
 						speed_x *= 4;
 					


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