author | alfadur |
Mon, 10 Aug 2020 12:56:53 +0300 | |
changeset 15737 | 6832dab555ae |
parent 15736 | eee2b3eff91d |
child 15738 | 027a56b3895e |
--- a/hedgewars/uWorld.pas Sun Aug 09 14:43:02 2020 +0200 +++ b/hedgewars/uWorld.pas Mon Aug 10 12:56:53 2020 +0300 @@ -1168,8 +1168,8 @@ procedure ShiftWorld(Dir: LongInt); inline; begin preShiftWorldDx:= WorldDx; - WorldDx:= WorldDx + LongInt(Dir * LongInt(playWidth)); - + Dir := Dir * LongInt(playWidth); + WorldDx:= WorldDx + Dir; end; procedure UnshiftWorld(); inline;