Improve TestSniperRifle a bit
authorunc0rr
Mon, 29 Oct 2012 14:32:54 +0400
changeset 7873 266fe9f1e5a9
parent 7872 ab6db9e07c4d
child 7874 c8aba48f38dc
Improve TestSniperRifle a bit
hedgewars/uAIAmmoTests.pas
--- a/hedgewars/uAIAmmoTests.pas	Mon Oct 29 05:06:15 2012 -0400
+++ b/hedgewars/uAIAmmoTests.pas	Mon Oct 29 14:32:54 2012 +0400
@@ -682,7 +682,7 @@
     or (y < 0)
     or (trunc(x) > LAND_WIDTH)
     or (trunc(y) > LAND_HEIGHT)
-    or (d > 23);
+    or (d > 22);
 
 if Abs(Targ.X - trunc(x)) + Abs(Targ.Y - trunc(y)) < 4 then
     begin