From 2c562ac2d29942844f0aa4c44339ddd88489db8a Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sun, 10 Dec 2023 01:38:35 +0100 Subject: feat: added missing country history keys (except decisions) --- src/openvic-simulation/country/CountryInstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openvic-simulation/country') 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); -- cgit v1.2.3-56-ga3b1