hedgewars/uAI.pas
changeset 8959 ad680848a5c9
parent 8946 3e07b8ff2ae1
child 8965 b4f10ff6ea90
--- a/hedgewars/uAI.pas	Sat May 04 14:46:29 2013 -0400
+++ b/hedgewars/uAI.pas	Sat May 04 21:40:52 2013 -0400
@@ -126,7 +126,7 @@
             then
             begin
 {$HINTS OFF}
-            Score:= AmmoTests[a].proc(Me, Targets.ar[i].Point, BotLevel, ap);
+            Score:= AmmoTests[a].proc(Me, Targets.ar[i], BotLevel, ap);
 {$HINTS ON}
             if Actions.Score + Score > BestActions.Score then
                 if (BestActions.Score < 0) or (Actions.Score + Score > BestActions.Score + Byte(BotLevel) * 2048) then