hedgewars/uAmmos.pas
changeset 3114 3a3d1ee2ebd0
parent 3075 b4ef08187d22
child 3255 6d6f4241debe
--- a/hedgewars/uAmmos.pas	Sat Mar 27 16:57:18 2010 +0000
+++ b/hedgewars/uAmmos.pas	Sat Mar 27 17:03:27 2010 +0000
@@ -314,7 +314,10 @@
             Gear^.State:= Gear^.State and not gstHHChooseTarget;
             isCursorVisible:= false
             end;
-        ShowCrosshair:= (Propz and ammoprop_NoCrosshair) = 0
+        if (CurAmmoGear <> nil) and ((CurAmmoGear^.Ammo^.Propz and ammoprop_AltAttack) <> 0) then
+            ShowCrosshair:= (CurAmmoGear^.Ammo^.Propz and ammoprop_NoCrossHair) = 0
+        else
+            ShowCrosshair:= (Propz and ammoprop_NoCrosshair) = 0;
         end
     end
 end;