--- a/hedgewars/uAIMisc.pas Fri Jun 16 08:10:45 2023 +0200
+++ b/hedgewars/uAIMisc.pas Fri Jun 16 21:06:46 2023 +0200
@@ -148,7 +148,7 @@
(Gear^.Health = 0) and
(Gear^.Damage < 35))
) and
- (Targets.Count < 256) then
+ (Targets.Count < 255) then
begin
with Targets.ar[Targets.Count] do
begin