projectile.c line 314 is
ASSERT_OR_RETURN(, -0.1 < experienceInc && experienceInc < 2.1,
"Experience increase out of range");

error is probably type cause by cut&paste
it should be obvious that body can not be greater than originalBody


--- src/droid.c.ori	2010-02-21 14:26:17.497988527 -0500
+++ src/droid.c	2010-02-21 14:27:02.158988094 -0500
@@ -1777,7 +1777,7 @@
 		if (!powerCost || (psDroidToRepair->body + iPointsToAdd >= psDroidToRepair->originalBody))
 		{
 			//anothe HACK but sorts out all the rounding errors when values get small
-			psDroidToRepair->body += iPointsToAdd;
+			psDroidToRepair->body = psDroidToRepair->originalBody;
 			psRepairDroid->actionPoints += iPointsToAdd;
 		}
 		else
_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to