use throttled direction for aiming
authoralfadur
Sun, 21 Jun 2020 03:00:39 +0300
changeset 15622 237d691e5069
parent 15621 969f67193d0b
child 15623 6c689729b745
use throttled direction for aiming
hedgewars/uGearsRender.pas
--- a/hedgewars/uGearsRender.pas	Sun Jun 21 02:04:20 2020 +0300
+++ b/hedgewars/uGearsRender.pas	Sun Jun 21 03:00:39 2020 +0300
@@ -416,6 +416,8 @@
         hogLR:= -1
     else
         hogLR:= 1;
+    if (CurAmmoGear <> nil) and (CurAmmoGear^.Kind = gtBlowTorch) then
+        hogLR:= CurAmmoGear^.Tag;
 
     if (Gear^.State and gstHHDeath) <> 0 then
         begin