# HG changeset patch # User unc0rr # Date 1314884721 -14400 # Node ID 3b7f2bfc86322b672639ecefc21de6dfa9153e24 # Parent 04f6ac4b2c0e89d8fbbd0aead3b59b580e87c524 Keep blowtorch direction (doesn't actually fix the bug with hedgehog turning opposite direction) diff -r 04f6ac4b2c0e -r 3b7f2bfc8632 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Thu Sep 01 00:00:23 2011 -0400 +++ b/hedgewars/GSHandlers.inc Thu Sep 01 17:45:21 2011 +0400 @@ -1227,7 +1227,7 @@ if abs(LongInt(HHGear^.Angle) - BTPrevAngle) > 7 then begin - Gear^.dX := SignAs(AngleSin(HHGear^.Angle) * _0_5, HHGear^.dX); + Gear^.dX := SignAs(AngleSin(HHGear^.Angle) * _0_5, Gear^.dX); Gear^.dY := AngleCos(HHGear^.Angle) * ( - _0_5); BTPrevAngle := HHGear^.Angle; b := true