hedgewars/uAmmos.pas
changeset 3114 3a3d1ee2ebd0
parent 3075 b4ef08187d22
child 3255 6d6f4241debe
equal deleted inserted replaced
3113:2829ea0dd47c 3114:3a3d1ee2ebd0
   312             isCursorVisible:= true
   312             isCursorVisible:= true
   313             end else begin
   313             end else begin
   314             Gear^.State:= Gear^.State and not gstHHChooseTarget;
   314             Gear^.State:= Gear^.State and not gstHHChooseTarget;
   315             isCursorVisible:= false
   315             isCursorVisible:= false
   316             end;
   316             end;
   317         ShowCrosshair:= (Propz and ammoprop_NoCrosshair) = 0
   317         if (CurAmmoGear <> nil) and ((CurAmmoGear^.Ammo^.Propz and ammoprop_AltAttack) <> 0) then
       
   318             ShowCrosshair:= (CurAmmoGear^.Ammo^.Propz and ammoprop_NoCrossHair) = 0
       
   319         else
       
   320             ShowCrosshair:= (Propz and ammoprop_NoCrosshair) = 0;
   318         end
   321         end
   319     end
   322     end
   320 end;
   323 end;
   321 
   324 
   322 procedure SwitchNotHeldAmmo(var Hedgehog: THedgehog);
   325 procedure SwitchNotHeldAmmo(var Hedgehog: THedgehog);