changeset 15737 | e0cdb6ae88ab |
parent 15680 | d23ebe7c88f8 |
child 15768 | ff18f99f3f5d |
--- a/hedgewars/uGearsRender.pas Sat Jul 11 01:09:56 2020 +0300 +++ b/hedgewars/uGearsRender.pas Sat Jul 11 02:12:02 2020 +0300 @@ -1745,7 +1745,8 @@ else DrawSpriteRotatedF(sprCreeper, x, y, 1, hwRound(SignAs(_1,Gear^.dX)), 0); gtSentry: begin DrawSpriteRotated(sprSentry, x, y, hwSign(Gear^.dX), 0); - DrawCircle(x, y, Gear^.Radius, 1, 255, 0, 0, 255); + if Gear^.Tag >= 0 then + DrawCircle(x, y, Gear^.Radius, 1, 255, 0, 0, 255); end; gtGenericFaller: begin // DEBUG: draw gtGenericFaller