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

Commit

Permalink
Fix bug with culturalTech option
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur committed May 1, 2013
1 parent 4056f3f commit 250c877
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Data Files/Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -381,4 +381,5 @@ Revision Log Message
374
375
376 Manpower numbers are less insane
377 Fix crashbug with independent republic families
377 Fix crashbug with independent republic families
378 Fix bug with culturalTech option
3 changes: 2 additions & 1 deletion Source/EU3World/EU3Country.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,8 @@ void EU3Country::determineLearningScore()

void EU3Country::determineTechScore()
{
int numProvinces = 0;
int numProvinces = 0;
techScore = 0;
for (vector<EU3Province*>::iterator provinceItr = provinces.begin(); provinceItr < provinces.end(); provinceItr++)
{
vector<CK2Province*> srcProvinces = (*provinceItr)->getSrcProvinces();
Expand Down

0 comments on commit 250c877

Please sign in to comment.