# HG changeset patch
# User nemo
# Date 1497553036 14400
# Node ID 031af5544333c192283c8f7210d3a1f5b6e3ea7d
# Parent  c461a224ec09c12dfd4f8537a6746fa000c44b02
bug #230 - Precise aiming is disabled after firing first Deagle shot  (when held down)

diff -r c461a224ec09 -r 031af5544333 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