fix for issue #894
authornemo
Wed, 24 Dec 2014 12:19:18 -0500
changeset 10714 70f71fac37a3
parent 10713 ac12876c4f66
child 10715 a0a5fe1bae96
fix for issue #894
hedgewars/uGearsHedgehog.pas
--- a/hedgewars/uGearsHedgehog.pas	Wed Dec 24 11:50:53 2014 -0500
+++ b/hedgewars/uGearsHedgehog.pas	Wed Dec 24 12:19:18 2014 -0500
@@ -834,7 +834,9 @@
 
     Gear^.Hedgehog^.visStepPos:= (Gear^.Hedgehog^.visStepPos + 1) and 7;
 
-    if (not cArtillery) and ((Gear^.Message and gmPrecise) = 0) then
+    if (not cArtillery or
+           ((CurAmmoGear <> nil) and (CurAmmoGear^.Kind = gtBlowTorch))) and
+       ((Gear^.Message and gmPrecise) = 0) then
         MakeHedgehogsStep(Gear);
 
     SetAllHHToActive(false);