Changeset 284 for trunk/Forms/UFormPlayers.pas
- Timestamp:
- Mar 10, 2019, 6:19:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormPlayers.pas
r282 r284 69 69 70 70 uses 71 UCore, UFormPlayer, UGame ;71 UCore, UFormPlayer, UGame, UNation; 72 72 73 73 resourcestring … … 131 131 TempEntry.Id := Players.GetNewId; 132 132 TempEntry.Name := SPlayer + ' ' + IntToStr(TempEntry.Id); 133 TempEntry.Nation := Core.Game.GameSystem.Nations.First;133 TempEntry.Nation := TNation(Core.Game.GameSystem.Nations.First); 134 134 TempEntry.Color := TempEntry.Nation.Color; 135 135 TempEntry.Mode := pmComputer; 136 136 TempEntry.Agressivity := caMedium; 137 TempEntry.Game := Players.Game; 137 138 FormPlayer.LoadData(TempEntry); 138 139 if FormPlayer.ShowModal = mrOk then begin
Note:
See TracChangeset
for help on using the changeset viewer.