Skip to content

Commit

Permalink
Fix idiotic typo
Browse files Browse the repository at this point in the history
I can't believe I missed that. *facepalms*
  • Loading branch information
RecursiveStar committed Mar 16, 2020
1 parent 9e48bcc commit ab60675
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CvGameCoreDLL_Expansion2/CvDiplomacyAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51759,9 +51759,9 @@ void CvDiplomacyAI::DoDetermineTaxRateForVassalOnePlayer(PlayerTypes ePlayer)
iAverageOpinionScore += (*it)->GetDiplomacyAI()->GetMajorCivOpinion(ePlayer);
}

iAverageMeanness /= (1u,m_MasterTeam.size());
iAverageLoyalty /= (1u,m_MasterTeam.size());
iAverageOpinionScore /= (1u,m_MasterTeam.size());
iAverageMeanness /= max(1u,m_MasterTeam.size());
iAverageLoyalty /= max(1u,m_MasterTeam.size());
iAverageOpinionScore /= max(1u,m_MasterTeam.size());

eTeamOpinion = (MajorCivOpinionTypes) iAverageOpinionScore;

Expand Down

0 comments on commit ab60675

Please sign in to comment.