Fixed off-by-one error.
This commit is contained in:
parent
1046cdd39d
commit
13eb07e593
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ void playsingle_controller::play_side(const unsigned int team_index, bool save)
|
|||
end_turn_ = false;
|
||||
|
||||
|
||||
statistics::reset_turn_stats(teams_[team_index].save_id());
|
||||
statistics::reset_turn_stats(teams_[team_index - 1].save_id());
|
||||
|
||||
if(current_team().is_human() || temporary_human) {
|
||||
LOG_NG << "is human...\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue