Skip to content
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.

Commit

Permalink
fixed problems with USA first campaign
Browse files Browse the repository at this point in the history
  • Loading branch information
jfouts2010 committed Jul 28, 2016
1 parent 9113296 commit d353021
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Vic2ToHoI4/Source/HOI4World/HoI4World.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6278,6 +6278,7 @@ vector<vector<HoI4Country*>> HoI4World::CommunistWarCreator(HoI4Country* Leader,
FocusTree += " cost = 10\n";
FocusTree += " ai_will_do = {\n";
FocusTree += " factor = 10\n";
FocusTree += " }\n";
FocusTree += " bypass = { \n";
FocusTree += " \n";
FocusTree += " OR = {\n";
Expand Down Expand Up @@ -6348,8 +6349,8 @@ vector<vector<HoI4Country*>> HoI4World::CommunistWarCreator(HoI4Country* Leader,
y2 = 2;
prereq = " prerequisite = { ";

for (unsigned int i = 0; (i < 2) && (i < forcedtakeover.size()) ; i++)
prereq += " focus = Alliance_" + forcedtakeover[i]->getTag() + Leader->getTag();
for (unsigned int i = 0; (i < 2) && (i < newAllies.size()) ; i++)
prereq += " focus = Alliance_" + newAllies[i]->getTag() + Leader->getTag();

prereq += "}\n";
}
Expand Down

0 comments on commit d353021

Please sign in to comment.