diff options
author | zaaarf <me@zaaarf.foo> | 2023-12-10 01:38:35 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2023-12-10 01:38:35 +0100 |
commit | 2c562ac2d29942844f0aa4c44339ddd88489db8a (patch) | |
tree | 08ab46ed8401179c0d29a4e6a26f21c04c34cf6e /src/openvic-simulation/country | |
parent | 5688655934d8851a09ebfbc1149fadf3a5bafdd0 (diff) |
feat: added missing country history keys (except decisions)
Diffstat (limited to 'src/openvic-simulation/country')
-rw-r--r-- | src/openvic-simulation/country/CountryInstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/country/CountryInstance.cpp b/src/openvic-simulation/country/CountryInstance.cpp index d4f9be7..5da787e 100644 --- a/src/openvic-simulation/country/CountryInstance.cpp +++ b/src/openvic-simulation/country/CountryInstance.cpp @@ -69,7 +69,7 @@ bool CountryInstance::apply_history_to_country(CountryHistoryMap const& history, if (entry->get_government_type()) government_type = *entry->get_government_type(); if (entry->get_plurality()) plurality = *entry->get_plurality(); if (entry->get_national_value()) national_value = *entry->get_national_value(); - if (entry->get_civilised()) civilised = *entry->get_civilised(); + if (entry->is_civilised()) civilised = *entry->is_civilised(); if (entry->get_prestige()) prestige = *entry->get_prestige(); for (Reform const* reform : entry->get_reforms()) { ret &= add_reform(reform); |