--- a/hedgewars/hedgewars/uWorld.pas +++ b/hedgewars/hedgewars/uWorld.pas @@ -1180,7 +1180,7 @@ end; var preShiftWorldDx: LongInt; -procedure ShiftWorld(Dir: LongInt); inline; +procedure ShiftWorld(Dir: LongInt); begin preShiftWorldDx:= WorldDx; WorldDx:= WorldDx + LongInt(Dir * LongInt(playWidth));