aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/country
diff options
context:
space:
mode:
author zaaarf <80046572+zaaarf@users.noreply.github.com>2023-12-10 01:48:54 +0100
committer GitHub <noreply@github.com>2023-12-10 01:48:54 +0100
commitb3d0af96e5820e38f94bcfa04130768da99c8360 (patch)
tree08ab46ed8401179c0d29a4e6a26f21c04c34cf6e /src/openvic-simulation/country
parentabb0804b015d8444542af7a6c5db728c0fde4cfb (diff)
parent2c562ac2d29942844f0aa4c44339ddd88489db8a (diff)
Merge pull request #87 from OpenVicProject/dataloading-country-history-2
Dataloading Country History - Part 2
Diffstat (limited to 'src/openvic-simulation/country')
-rw-r--r--src/openvic-simulation/country/CountryInstance.cpp2
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);