浏览代码

Stop awarding single scenario bonuses in campaigns

Aleksei Iupinov 7 年之前
父节点
当前提交
7ed318d156
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      lib/CGameState.cpp

+ 5 - 0
lib/CGameState.cpp

@@ -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)
 	{