Changeset 219 for trunk/UGame.pas
- Timestamp:
- Jun 10, 2018, 12:04:34 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r216 r219 1393 1393 // I: Integer; 1394 1394 begin 1395 // Do not assign Game field 1395 1396 MaxPower := Source.MaxPower; 1396 Game := Source.Game;1397 1397 Size := Source.Size; 1398 1398 DefaultCellSize := Source.DefaultCellSize; … … 2216 2216 TotalCells := Source.TotalCells; 2217 2217 TotalUnits := Source.TotalUnits; 2218 TotalCities := Source.TotalCities; 2219 TotalDiscovered := Source.TotalDiscovered; 2220 TotalWinObjectiveCells := Source.TotalWinObjectiveCells; 2218 2221 StartUnits := Source.StartUnits; 2219 2222 StartCell := Source.StartCell; … … 2809 2812 else Map := TMap.Create; 2810 2813 end; 2814 Map.Game := Self; 2811 2815 Map.Assign(OldMap); 2812 2816 FreeAndNil(OldMap); … … 3085 3089 Players[I].PlayerMap.CheckVisibility; 3086 3090 end; 3087 Map.ComputePlayerStats;3091 ComputePlayerStats; 3088 3092 Running := ReadBoolean(RootNode, 'Running', True); 3089 3093 end;
Note:
See TracChangeset
for help on using the changeset viewer.