changeset 14954 | 37ae92c11a36 |
parent 14949 | 8b53cb1c0ada |
child 14960 | 088c1d319612 |
--- a/hedgewars/uGearsRender.pas Tue May 14 22:42:19 2019 +0200 +++ b/hedgewars/uGearsRender.pas Wed May 15 00:09:54 2019 +0300 @@ -163,7 +163,7 @@ begin inc(roplen); if (roplen mod cRopeNodeStep) = 0 then - DrawSpriteRotatedF(sprRopeNode, x, y, roplen mod cRopeNodeStep, 1, angle); + DrawSpriteRotatedF(sprRopeNode, x, y, roplen div cRopeNodeStep, 1, angle); end end; DrawRopeLine:= roplen;