hedgewars/uAIMisc.pas
changeset 1799 b945f4174d00
parent 1753 2ccba26f1aa4
child 1941 b1ef1f86148c
--- a/hedgewars/uAIMisc.pas	Sun Feb 15 17:24:19 2009 +0000
+++ b/hedgewars/uAIMisc.pas	Sun Feb 15 17:48:05 2009 +0000
@@ -27,7 +27,7 @@
                end;
      TTargets = record
                 Count: Longword;
-                ar: array[0..cMaxHHIndex*5] of TTarget;
+                ar: array[0..Pred(cMaxHHs)] of TTarget;
                 end;
      TJumpType = (jmpNone, jmpHJump, jmpLJump);
      TGoInfo = record