hedgewars/uWorld.pas
changeset 11151 5c40c65b619d
parent 11046 47a8c19ecb60
parent 11090 874e477700d5
child 11156 efea685933ae
equal deleted inserted replaced
11077:1fb80cd8ba7b 11151:5c40c65b619d
  1146 var preShiftWorldDx: LongInt;
  1146 var preShiftWorldDx: LongInt;
  1147 
  1147 
  1148 procedure ShiftWorld(Dir: LongInt); inline;
  1148 procedure ShiftWorld(Dir: LongInt); inline;
  1149 begin
  1149 begin
  1150     preShiftWorldDx:= WorldDx;
  1150     preShiftWorldDx:= WorldDx;
  1151     WorldDx:= WorldDx + Dir * LongInt(playWidth);
  1151     WorldDx:= WorldDx + LongInt(Dir * LongInt(playWidth));
  1152 
  1152 
  1153 end;
  1153 end;
  1154 
  1154 
  1155 procedure UnshiftWorld(); inline;
  1155 procedure UnshiftWorld(); inline;
  1156 begin
  1156 begin