[Scummvm-cvs-logs] SF.net SVN: scummvm:[36265] scummvm/branches/branch-0-13-0/engines/scumm/ camera.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Wed Feb 11 14:16:50 CET 2009


Revision: 36265
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36265&view=rev
Author:   Kirben
Date:     2009-02-11 13:16:50 +0000 (Wed, 11 Feb 2009)

Log Message:
-----------
Add suggested code changes for bug #2580705 - COMI: Jerky camera movement.

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/engines/scumm/camera.cpp

Modified: scummvm/branches/branch-0-13-0/engines/scumm/camera.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/engines/scumm/camera.cpp	2009-02-11 13:15:35 UTC (rev 36264)
+++ scummvm/branches/branch-0-13-0/engines/scumm/camera.cpp	2009-02-11 13:16:50 UTC (rev 36265)
@@ -341,10 +341,10 @@
 		VAR(VAR_CAMERA_SPEED_X) += camera._accel.x / 100;
 		VAR(VAR_CAMERA_SPEED_Y) += camera._accel.y / 100;
 
-		if (VAR(VAR_CAMERA_SPEED_X) < 8)
+		if (VAR(VAR_CAMERA_SPEED_X) > 8)
 			VAR(VAR_CAMERA_SPEED_X) = 8;
 
-		if (VAR(VAR_CAMERA_SPEED_Y) < 8)
+		if (VAR(VAR_CAMERA_SPEED_Y) > 8)
 			VAR(VAR_CAMERA_SPEED_Y) = 8;
 
 	}


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