Changeset 129 for trunk/UGame.pas


Ignore:
Timestamp:
Jun 18, 2017, 11:13:05 AM (7 years ago)
Author:
chronos
Message:
  • Fixed: If only computer players are present in game then starts computer move immediatelly.
  • Fixed: Record players stats per entire turn and not per each player step.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGame.pas

    r128 r129  
    30373037  UpdateRepeatMoves(CurrentPlayer);
    30383038  ComputePlayerStats;
    3039   RecordTurnStats;
    30403039  PrevPlayer := CurrentPlayer;
    30413040  // Skip dead players
     
    30473046  if Players.IndexOf(CurrentPlayer) < Players.IndexOf(PrevPlayer) then begin
    30483047    Inc(TurnCounter);
     3048    RecordTurnStats;
    30493049    if Assigned(FOnNewTurn) then
    30503050      FOnNewTurn(Self);
Note: See TracChangeset for help on using the changeset viewer.