Changeset 262 for trunk/UPlayer.pas
- Timestamp:
- Sep 24, 2018, 11:46:31 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UPlayer.pas
r258 r262 121 121 procedure RemoveInvalidMoves; 122 122 procedure UpdateRepeatMoves; 123 procedure UpdateEmptyCellsNeutral; 123 124 procedure MoveAll; 124 125 procedure Grow; … … 1092 1093 end; 1093 1094 1095 procedure TPlayer.UpdateEmptyCellsNeutral; 1096 var 1097 I: Integer; 1098 begin 1099 if TGame(Game).EmptyCellsNeutral then 1100 for I := 0 to PlayerMap.Cells.Count - 1 do 1101 with TPlayerCell(PlayerMap.Cells[I]) do begin 1102 if MapCell.Power = 0 then MapCell.Player := nil; 1103 end; 1104 end; 1105 1094 1106 procedure TPlayer.RemoveEmptyUnitMoves; 1095 1107 var
Note:
See TracChangeset
for help on using the changeset viewer.