Changeset 322 for trunk/Player.pas
- Timestamp:
- Jun 25, 2024, 1:15:02 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Player.pas
r318 r322 1277 1277 with TGame(Game).Map do 1278 1278 for I := 0 to Cells.Count - 1 do 1279 with TCell(Cells[I])do begin1279 with Cells[I] do begin 1280 1280 if (Player = Self) and ((TGame(Game).GrowCells = gcPlayerAll) or 1281 1281 ((TGame(Game).GrowCells = gcPlayerCities) and (Assigned(Building) and (Building.Kind.SpecialType = stCity)))) then begin … … 1283 1283 NewUnit := TGame(Game).Units.AddNew(TUnitKind(TGame(Game).GameSystem.UnitKinds.First), 0); 1284 1284 NewUnit.Player := Self; 1285 NewUnit.MapCell := TCell(Cells[I]);1285 NewUnit.MapCell := Cells[I]; 1286 1286 Units.Add(NewUnit); 1287 1287 end;
Note:
See TracChangeset
for help on using the changeset viewer.