# HG changeset patch # User nemo # Date 1352067854 18000 # Node ID 61da79e8333027f76bd3ce31b5b2dfd68cada8df # Parent e3ffeb3d938985ea821c951bfc9a319e26467efb Causes AI fail. Needs testing 'cause at some point, I thought this was needed for portal, I don't remember *why* diff -r e3ffeb3d9389 -r 61da79e83330 hedgewars/uGearsHedgehog.pas --- a/hedgewars/uGearsHedgehog.pas Sun Nov 04 17:05:54 2012 -0500 +++ b/hedgewars/uGearsHedgehog.pas Sun Nov 04 17:24:14 2012 -0500 @@ -1060,8 +1060,7 @@ end; if (CurAmmoGear = nil) -or ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) -or ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_NoRoundEnd) <> 0) then +or ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) then begin if ((HHGear^.Message and gmSlot) <> 0) then if ChangeAmmo(HHGear) then ApplyAmmoChanges(Hedgehog^);