Make engine compilable without debugging on
authorunc0rr
Mon, 23 Jun 2008 12:25:59 +0000
changeset 1024 a6942122c31d
parent 1023 2a32ee7affa3
child 1025 3c627510b84c
Make engine compilable without debugging on
hedgewars/GSHandlers.inc
hedgewars/uAIAmmoTests.pas
--- a/hedgewars/GSHandlers.inc	Sun Jun 22 20:40:39 2008 +0000
+++ b/hedgewars/GSHandlers.inc	Mon Jun 23 12:25:59 2008 +0000
@@ -1411,7 +1411,6 @@
 
 	dec(i)
 until (i = 0) or (Gear^.Damage > Gear^.Health);
-addfilelog(inttostr(Gear^.Damage));
 
 inc(upd);
 if upd > 3 then
--- a/hedgewars/uAIAmmoTests.pas	Sun Jun 22 20:40:39 2008 +0000
+++ b/hedgewars/uAIAmmoTests.pas	Mon Jun 23 12:25:59 2008 +0000
@@ -217,10 +217,7 @@
 			Result:= RateExplosion(Me, EX, EY, 91);
 			if (Result = 0) then
 				if (dY > _0_15) then
-					begin
-					Result:= - abs(Targ.Y - EY) div 32;
-					AddFileLog('dY > _0_15');
-					end
+					Result:= - abs(Targ.Y - EY) div 32
 				else
 					Result:= BadTurn
 			else if (Result < 0) then Result:= BadTurn