Don't change crosshair look when hedgehog does high jump
authorunc0rr
Sat, 02 Nov 2013 22:49:32 +0400
changeset 9667 0b27737fc28f
parent 9666 8dcb25112d96
child 9668 75aab6802a2e
Don't change crosshair look when hedgehog does high jump
hedgewars/uGearsRender.pas
--- a/hedgewars/uGearsRender.pas	Fri Nov 01 23:50:13 2013 +0400
+++ b/hedgewars/uGearsRender.pas	Sat Nov 02 22:49:32 2013 +0400
@@ -366,7 +366,7 @@
             Tint(HH^.Team^.Clan^.Color shl 8 or $FF);
             DrawTextureRotated(CrosshairTexture,
                     12, 12, CrosshairX + WorldDx, CrosshairY + WorldDy, 0,
-                    sign * (Gear^.Angle * 180.0) / cMaxAngle);
+                    sign * m * (Gear^.Angle * 180.0) / cMaxAngle);
             untint;
             setTintAdd(false);
             end;