hedgewars/uGearsRender.pas
changeset 14291 7a7c090f96f6
parent 14287 6015b74eea55
child 14346 d5317635f368
--- a/hedgewars/uGearsRender.pas	Fri Nov 23 16:38:47 2018 -0500
+++ b/hedgewars/uGearsRender.pas	Fri Nov 23 21:38:34 2018 -0500
@@ -820,7 +820,7 @@
                                 DrawSpriteClipped(sprGirder,
                                                 rightX+(ox-leftX)-256,
                                                 oy-256,
-                                                LongInt(topY)+WorldDy,
+                                                topY+WorldDy,
                                                 rightX+WorldDx,
                                                 cWaterLine+WorldDy,
                                                 leftX+WorldDx);
@@ -828,7 +828,7 @@
                                 DrawSpriteClipped(sprGirder,
                                                 leftX-(rightX-ox)-256,
                                                 oy-256,
-                                                LongInt(topY)+WorldDy,
+                                                topY+WorldDy,
                                                 rightX+WorldDx,
                                                 cWaterLine+WorldDy,
                                                 leftX+WorldDx)
@@ -836,7 +836,7 @@
                         DrawSpriteClipped(sprGirder,
                                         ox-256,
                                         oy-256,
-                                        LongInt(topY)+WorldDy,
+                                        topY+WorldDy,
                                         rightX+WorldDx,
                                         cWaterLine+WorldDy,
                                         leftX+WorldDx)