hedgewars/uGearsRender.pas
changeset 14307 7a7c090f96f6
parent 14303 6015b74eea55
child 14362 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)