bug #230 - Precise aiming is disabled after firing first Deagle shot (when held down)
authornemo
Thu, 15 Jun 2017 14:57:16 -0400
changeset 12436 031af5544333
parent 12435 c461a224ec09
child 12437 e5246ffdbdaa
bug #230 - Precise aiming is disabled after firing first Deagle shot (when held down)
hedgewars/uGearsHedgehog.pas
--- a/hedgewars/uGearsHedgehog.pas	Thu Jun 15 15:50:23 2017 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Thu Jun 15 14:57:16 2017 -0400
@@ -1225,7 +1225,7 @@
 if not isInMultiShoot then
     AllInactive:= false
 else if Hedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle] then
-    HHGear^.Message:= 0;
+    HHGear^.Message:= HHGear^.Message and gmPrecise;
 
 if ((Ammoz[CurrentHedgehog^.CurAmmoType].Ammo.Propz and ammoprop_Utility) <> 0) and isInMultiShoot then
     AllInactive:= true