Fixed off-by-one error.

This commit is contained in:
Sergey Popov 2008-08-23 14:32:25 +00:00
parent 1046cdd39d
commit 13eb07e593

View file

@ -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";