changeset 3836 | 833c0f32e326 |
parent 3617 | 1df21e06b8ba |
child 3894 | 9abce5468583 |
--- a/hedgewars/uAI.pas Mon Sep 06 20:40:58 2010 +0100 +++ b/hedgewars/uAI.pas Mon Sep 06 16:23:47 2010 -0400 @@ -71,7 +71,7 @@ if (Targets.ar[i].Score >= 0) and (not StopThinking) then begin with CurrentHedgehog^ do - a:= Ammo^[CurSlot, CurAmmo].AmmoType; + a:= CurAmmoType; aa:= a; repeat if (CanUseAmmo[a]) and