hedgewars/uAmmos.pas
changeset 5136 948da1e50205
parent 5031 e26f430be1ed
child 5167 7b515d0945b1
--- a/hedgewars/uAmmos.pas	Sun Apr 10 20:02:25 2011 +0200
+++ b/hedgewars/uAmmos.pas	Sun Apr 10 14:04:56 2011 -0400
@@ -228,7 +228,6 @@
                 begin
                 PackAmmo(Ammo, Ammoz[AmmoType].Slot);
                 //SwitchNotHeldAmmo(Hedgehog);
-                ShowCrossHair:= false;
                 CurAmmoType:= amNothing
                 end
             end
@@ -295,10 +294,6 @@
         end;
     TryDo(slot <= cMaxSlotIndex, 'Ammo slot index overflow', true);
     CurAmmoType:= Ammo^[slot, ammoidx].AmmoType;
-    if (CurAmmoGear <> nil) and ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) then
-        ShowCrosshair:= (Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_NoCrossHair) = 0
-    else
-        ShowCrosshair:= (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoCrosshair) = 0;
     end
 end;