Causes AI fail. Needs testing 'cause at some point, I thought this was needed for portal, I don't remember *why*
authornemo
Sun, 04 Nov 2012 17:24:14 -0500
changeset 7956 61da79e83330
parent 7952 e3ffeb3d9389
child 7960 99d5af6997dd
Causes AI fail. Needs testing 'cause at some point, I thought this was needed for portal, I don't remember *why*
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^);