hedgewars/uLand.pas
changeset 3630 2c7a9d5aa18c
parent 3617 1df21e06b8ba
child 3631 159bc2fd7f68
equal deleted inserted replaced
3629:86212d2b116a 3630:2c7a9d5aa18c
  1206     hasBorder:= false;
  1206     hasBorder:= false;
  1207 
  1207 
  1208     LoadThemeConfig;
  1208     LoadThemeConfig;
  1209     isMap:= false;
  1209     isMap:= false;
  1210     
  1210     
  1211     if ((GameFlags and gfForts) <> 0) or (Pathz[ptMapCurrent] <> '') then
  1211     // is this not needed any more? let's hope setlength sets also 0s
  1212         FillChar(Land,SizeOf(TCollisionArray),0);
  1212     //if ((GameFlags and gfForts) <> 0) or (Pathz[ptMapCurrent] <> '') then
       
  1213     //    FillChar(Land,SizeOf(TCollisionArray),0);*)
  1213         
  1214         
  1214     if (GameFlags and gfForts) = 0 then
  1215     if (GameFlags and gfForts) = 0 then
  1215         if Pathz[ptMapCurrent] <> '' then
  1216         if Pathz[ptMapCurrent] <> '' then
  1216             LoadMap
  1217             LoadMap
  1217         else
  1218         else