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

megath at users.sourceforge.net megath at users.sourceforge.net
Thu Dec 31 23:49:56 CET 2009


Revision: 46806
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46806&view=rev
Author:   megath
Date:     2009-12-31 22:49:56 +0000 (Thu, 31 Dec 2009)

Log Message:
-----------
removed magic first frame from actor

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

Modified: scummvm/trunk/engines/teenagent/actor.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/actor.cpp	2009-12-31 18:52:42 UTC (rev 46805)
+++ scummvm/trunk/engines/teenagent/actor.cpp	2009-12-31 22:49:56 UTC (rev 46806)
@@ -79,7 +79,7 @@
 		}
 
 		if (index >= sizeof(frames_left_right))
-			index = 1;
+			index = 0;
 		s = frames + frames_left_right[index];
 		dx = 11;
 		dy = 62;
@@ -93,7 +93,7 @@
 		}
 
 		if (index >= sizeof(frames_up))
-			index = 1;
+			index = 0;
 		s = frames + frames_up[index];
 		dx = 11;
 		dy = 62;
@@ -107,7 +107,7 @@
 		}
 
 		if (index >= sizeof(frames_down))
-			index = 1;
+			index = 0;
 		s = frames + frames_down[index];
 		dx = 11;
 		dy = 62;


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