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

Commit

Permalink
Updates to second method
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur committed Mar 26, 2013
1 parent 678aa03 commit 7b435f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Data Files/Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -359,4 +359,5 @@ Revision Log Message
352
353
354 Unlanded countries inherit tech group from holder of their potential capital
355 Add second method of tech group conversion
355 Add second method of tech group conversion
356 Updates to second method
4 changes: 2 additions & 2 deletions Source/EU3World/EU3World.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ void EU3World::convertTech(const CK2World& srcWorld)
}
else if (category == "catholic")
{
if (techScore >= catholicTech)
if (techScore >= greekTech)
{
(*countryItr)->setTechGroup("western");
}
Expand Down Expand Up @@ -1071,7 +1071,7 @@ void EU3World::convertTech(const CK2World& srcWorld)
{
(*countryItr)->setTechGroup("western");
}
else if (techScore >= otherTech)
else if (techScore >= muslimTech)
{
(*countryItr)->setTechGroup("eastern");
}
Expand Down

0 comments on commit 7b435f7

Please sign in to comment.