Changeset 307 for trunk/UPlayer.pas
- Timestamp:
- Aug 18, 2021, 11:18:39 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UPlayer.pas
r303 r307 973 973 end; 974 974 CellFrom.MapCell.OneUnit.Power := CellFrom.MapCell.OneUnit.Power - UnitCount; 975 CellFrom.MapCell.CheckOwnership; 975 976 end; 976 977 … … 1145 1146 for I := 0 to PlayerMap.Cells.Count - 1 do 1146 1147 with TPlayerCell(PlayerMap.Cells[I]) do begin 1147 if Assigned(MapCell.OneUnit) and (MapCell.OneUnit.Power = 0) then 1148 MapCell.Player := nil; 1148 MapCell.CheckOwnership; 1149 1149 end; 1150 1150 end;
Note:
See TracChangeset
for help on using the changeset viewer.