# HG changeset patch
# User unc0rr
# Date 1184251414 0
# Node ID 4f83b3de17c7bb40908079debbb32f5ce22df7ee
# Parent  5478386d935fc964d56ff4baf5fa25a69e757df6
Only bots of 1-3 level use AirAttack weapon

diff -r 5478386d935f -r 4f83b3de17c7 hedgewars/uAIAmmoTests.pas
--- a/hedgewars/uAIAmmoTests.pas	Sun Jul 08 17:16:46 2007 +0000
+++ b/hedgewars/uAIAmmoTests.pas	Thu Jul 12 14:43:34 2007 +0000
@@ -289,6 +289,8 @@
 begin
 ap.ExplR:= 0;
 ap.Time:= 0;
+if (Level > 3) then exit(BadTurn);
+
 ap.AttackPutX:= Targ.X;
 ap.AttackPutY:= Targ.Y;