close Warning: Can't synchronize with repository "(default)" (No changeset 184 in the repository). Look in the Trac log for more information.

Changeset 158 for trunk/UMap.pas


Ignore:
Timestamp:
Nov 19, 2017, 1:02:02 AM (6 years ago)
Author:
chronos
Message:
  • Fixed: Show error message if not all players were placed to the map.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UMap.pas

    r156 r158  
    173173    GetCellPosNeighbors(Point(X, Y), Neighbors);
    174174  end;
     175
     176  FPixelRect := CalculatePixelRect;
    175177end;
    176178
     
    211213      Neighbors.Add(TCell(Cells[(Y - 1) * Size.X + (X + 0)]));
    212214  end;
     215
     216  FPixelRect := CalculatePixelRect;
    213217end;
    214218
     
    256260    Cells[Y * Size.X + X] := NewCell;
    257261  end;
     262
     263  FPixelRect := CalculatePixelRect;
    258264end;
    259265
     
    317323      Neighbors.Add(TCell(Cells[(Y + 0) * Size.X + (X - 1)]));
    318324  end;
     325
     326  FPixelRect := CalculatePixelRect;
    319327end;
    320328
Note: See TracChangeset for help on using the changeset viewer.