Changeset 258 for trunk/UMapType.pas


Ignore:
Timestamp:
Sep 23, 2018, 1:43:52 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Bad cell links in Voronoi map type causing problems on openning saved file.
  • Added: More checks for loaded game file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UMapType.pas

    r248 r258  
    489489      for Y := -1 to 1 do
    490490      for X := -1 to 1 do
    491       for J := 0 to Cells.Count - 1 do begin
     491      for J := 0 to Cells.Count - 1 do
     492      if J <> I then begin
    492493        P := Cells[J].Polygon;
    493494        P.Move(TPoint.Create(X * AreaSize.X, Y * AreaSize.Y));
Note: See TracChangeset for help on using the changeset viewer.