diff --git a/Data Files/Changelog.txt b/Data Files/Changelog.txt index bc5b3e79b..60ffb68db 100644 --- a/Data Files/Changelog.txt +++ b/Data Files/Changelog.txt @@ -381,4 +381,5 @@ Revision Log Message 374 375 376 Manpower numbers are less insane -377 Fix crashbug with independent republic families \ No newline at end of file +377 Fix crashbug with independent republic families +378 Fix bug with culturalTech option \ No newline at end of file diff --git a/Source/EU3World/EU3Country.cpp b/Source/EU3World/EU3Country.cpp index 397b73be3..2a7f03378 100644 --- a/Source/EU3World/EU3Country.cpp +++ b/Source/EU3World/EU3Country.cpp @@ -774,7 +774,8 @@ void EU3Country::determineLearningScore() void EU3Country::determineTechScore() { - int numProvinces = 0; + int numProvinces = 0; + techScore = 0; for (vector::iterator provinceItr = provinces.begin(); provinceItr < provinces.end(); provinceItr++) { vector srcProvinces = (*provinceItr)->getSrcProvinces();