Stop awarding single scenario bonuses in campaigns

This commit is contained in:
Aleksei Iupinov
2018-08-05 05:42:54 +03:00
committed by Alexander Shishkin
parent f2db64af94
commit 7ed318d156
+5
View File
@@ -1548,6 +1548,11 @@ void CGameState::initFogOfWar()
void CGameState::initStartingBonus()
{
if (scenarioOps->mode == StartInfo::CAMPAIGN)
return;
// These are the single scenario bonuses; predefined
// campaign bonuses are spread out over other init* functions.
logGlobal->debug("\tStarting bonuses");
for(auto & elem : players)
{