# HG changeset patch # User alfadur # Date 1597053413 -10800 # Node ID b0fe8c8d0bb5f0537efc77956f442411e49aa7e4 # Parent 23e16f33b52864881e0d7254deed7c2a620b4632 workaround for FPC 3.2.0 ICE diff -r 23e16f33b528 -r b0fe8c8d0bb5 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Tue Apr 13 15:40:11 2021 -0400 +++ b/hedgewars/uWorld.pas Mon Aug 10 12:56:53 2020 +0300 @@ -1129,8 +1129,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;