author | alfadur |
Wed, 15 May 2019 00:09:54 +0300 | |
changeset 14949 | 37ae92c11a36 |
parent 14948 | f27f00fabc0d |
child 14950 | ef3352839616 |
--- 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;