hedgewars/uGearsRender.pas
changeset 15680 d23ebe7c88f8
parent 15662 8416b08ffdbb
child 15737 e0cdb6ae88ab
--- a/hedgewars/uGearsRender.pas	Tue Jun 30 19:09:04 2020 +0300
+++ b/hedgewars/uGearsRender.pas	Tue Jun 30 19:22:46 2020 +0300
@@ -1744,7 +1744,7 @@
                          DrawSpriteRotatedF(sprCreeper, x, y, 1, hwRound(SignAs(_1,Gear^.Hedgehog^.Gear^.X-Gear^.X)), 0)
                     else DrawSpriteRotatedF(sprCreeper, x, y, 1, hwRound(SignAs(_1,Gear^.dX)), 0);
             gtSentry: begin
-                DrawSprite(sprSentry, x - 16, y - 16, 0, 0);
+                DrawSpriteRotated(sprSentry, x, y, hwSign(Gear^.dX), 0);
                 DrawCircle(x, y, Gear^.Radius, 1, 255, 0, 0, 255);
             end;
             gtGenericFaller: begin