# HG changeset patch
# User unc0rr
# Date 1200867423 0
# Node ID 6b314e907f6d68ceb92341cbbe61b344bfee4423
# Parent  29609363c36c00f69632564e9345d4c976cfcd3e
Some debug stuff

diff -r 29609363c36c -r 6b314e907f6d hedgewars/uAIAmmoTests.pas
--- a/hedgewars/uAIAmmoTests.pas	Sun Jan 20 22:07:27 2008 +0000
+++ b/hedgewars/uAIAmmoTests.pas	Sun Jan 20 22:17:03 2008 +0000
@@ -123,6 +123,7 @@
         begin
         ap.Angle:= DxDy2AttackAngle(Vx, Vy) + AIrndSign(random((Level - 1) * 9));
         ap.Power:= hwRound(r * cMaxPower) - random((Level - 1) * 17 + 1);
+AddFilelog('r = '+floattostr(r)+' power = '+ inttostr(hwRound(r * cMaxPower))+' ==> '+inttostr(ap.Power));
         ap.ExplR:= 100;
         ap.ExplX:= EX;
         ap.ExplY:= EY;