branch | transitional_engine |
changeset 15929 | 128ace913837 |
parent 15857 | f0f615dcbe7c |
--- a/hedgewars/uWorld.pas Tue Dec 13 21:21:55 2022 +0100 +++ b/hedgewars/uWorld.pas Mon Jan 02 15:59:26 2023 +0100 @@ -1165,14 +1165,14 @@ var preShiftWorldDx: LongInt; -procedure ShiftWorld(Dir: LongInt); inline; +procedure ShiftWorld(Dir: LongInt); begin preShiftWorldDx:= WorldDx; Dir := Dir * LongInt(playWidth); WorldDx:= WorldDx + Dir; end; -procedure UnshiftWorld(); inline; +procedure UnshiftWorld(); begin WorldDx:= preShiftWorldDx; end;