hedgewars/uGearsRender.pas
changeset 15242 5c91c5191085
parent 15208 26b4e864b341
child 15313 01bd0a087163
--- a/hedgewars/uGearsRender.pas	Thu Jul 11 21:23:57 2019 +0200
+++ b/hedgewars/uGearsRender.pas	Thu Jul 11 22:31:29 2019 +0200
@@ -1526,6 +1526,10 @@
                     DrawSpriteRotatedF(sprAirplane, x, y, 0, Gear^.Tag, 0);
                     untint;
                     DrawSpriteRotatedF(sprAirplane, x, y, 1, Gear^.Tag, 0);
+                    if WorldEdge <> weSea then
+                        DrawSpriteRotatedF(sprAirplane, x, y, 2, Gear^.Tag, 0)
+                    else
+                        DrawSpriteRotatedF(sprAirplane, x, y, 3, Gear^.Tag, 0);
                     end;
          gtAirBomb: DrawSpriteRotated(sprAirBomb, x, y, 0, DxDy2Angle(Gear^.dY, Gear^.dX));
         gtTeleport: begin