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

Commit

Permalink
Extra logging for tech group conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur committed Feb 23, 2013
1 parent ec0a868 commit 2b3984d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Data Files/Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -321,4 +321,9 @@ Revision Log Message
315 Ultimogeniture succession
316 Tanistry succession
317 Merge in minor features
318 Merge in bugfixes
318 Merge in bugfixes
319 Added tag 0.6A Release for changeset 480cef6655c2
320 Map tags for some new 1.09 titles.
321 Merge main to minor
322 Merge main to bugfixes
323 Extra logging for tech group conversion
2 changes: 2 additions & 0 deletions Source/EU3World/EU3World.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ void EU3World::convertTech(const CK2World& srcWorld)
}
}

log("Highest tech score is %f\n", highestLearningScore);
for (vector<EU3Country*>::iterator countryItr = convertedCountries.begin(); countryItr != convertedCountries.end(); countryItr++)
{
CK2Religion* religion = (*countryItr)->getSrcCountry()->getLastHolder()->getReligion();
Expand Down Expand Up @@ -839,6 +840,7 @@ void EU3World::convertTech(const CK2World& srcWorld)
{
(*countryItr)->setTechGroup("western");
}
log("\t,%s,%f,%s\n", (*countryItr)->getTag().c_str(), (*countryItr)->getLearningScore(), (*countryItr)->getTechGroup().c_str());

(*countryItr)->determineTechLevels(avgTechLevels, techData);
}
Expand Down

0 comments on commit 2b3984d

Please sign in to comment.