[Scummvm-cvs-logs] SF.net SVN: scummvm:[40148] scummvm/trunk/engines/kyra/sprites_lol.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Apr 26 01:42:47 CEST 2009


Revision: 40148
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40148&view=rev
Author:   thebluegr
Date:     2009-04-25 23:42:47 +0000 (Sat, 25 Apr 2009)

Log Message:
-----------
The "attacker" parameter is an unsigned integer, so we can't pass a negative number to it (hopefully this doesn't break anything)

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sprites_lol.cpp

Modified: scummvm/trunk/engines/kyra/sprites_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sprites_lol.cpp	2009-04-25 23:31:03 UTC (rev 40147)
+++ scummvm/trunk/engines/kyra/sprites_lol.cpp	2009-04-25 23:42:47 UTC (rev 40148)
@@ -1242,7 +1242,7 @@
 				if (item)
 					setItemPosition(item, _partyPosX, _partyPosY, 0, 1);
 
-				inflictDamage(i, 20, -1, 0, 2);
+				inflictDamage(i, 20, 0, 0, 2);
 			}
 
 		} else if (flyingObject == 3) {


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