[Scummvm-cvs-logs] SF.net SVN: scummvm: [26999] scummvm/trunk/engines/saga/actor.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Mon May 28 18:45:12 CEST 2007


Revision: 26999
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26999&view=rev
Author:   sev
Date:     2007-05-28 09:36:18 -0700 (Mon, 28 May 2007)

Log Message:
-----------
Partial fix for walking speed in IHNM.

Modified Paths:
--------------
    scummvm/trunk/engines/saga/actor.cpp

Modified: scummvm/trunk/engines/saga/actor.cpp
===================================================================
--- scummvm/trunk/engines/saga/actor.cpp	2007-05-28 14:10:19 UTC (rev 26998)
+++ scummvm/trunk/engines/saga/actor.cpp	2007-05-28 16:36:18 UTC (rev 26999)
@@ -1406,7 +1406,11 @@
 					}
 				}
 
-				speed = (ACTOR_LMULT * 2 * actor->_screenScale + 63) / 256;
+				if(_vm->getGameType() == GType_ITE)
+					speed = (ACTOR_LMULT * 2 * actor->_screenScale + 63) / 256;
+				else
+					speed = (72 * actor->_screenScale + 128) / 256;
+
 				if (speed < 1) {
 					speed = 1;
 				}


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