aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/PopulationMenu.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-06-15 12:45:48 +0200
committer hop311 <hop3114@gmail.com>2024-07-04 10:45:35 +0200
commit99a85d03de5297f2c7c29aedfc83e4e37cbc795b (patch)
tree2933b65a98ef0a4b32c4bd848ecdad574bc1cfde /extension/src/openvic-extension/singletons/PopulationMenu.cpp
parentdb246d901d1ccd39b0ed3fc024f28ad7b6b4848b (diff)
Use CountryDefinition and CountryInstancecountry-definition
Diffstat (limited to 'extension/src/openvic-extension/singletons/PopulationMenu.cpp')
-rw-r--r--extension/src/openvic-extension/singletons/PopulationMenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/src/openvic-extension/singletons/PopulationMenu.cpp b/extension/src/openvic-extension/singletons/PopulationMenu.cpp
index 1804539..1237e86 100644
--- a/extension/src/openvic-extension/singletons/PopulationMenu.cpp
+++ b/extension/src/openvic-extension/singletons/PopulationMenu.cpp
@@ -29,9 +29,9 @@ bool MenuSingleton::_population_menu_update_provinces() {
MapInstance const& map_instance = instance_manager->get_map_instance();
ERR_FAIL_COND_V(!map_instance.province_instances_are_locked(), false);
- for (Country const* country : {
+ for (CountryDefinition const* country : {
// Example country
- game_singleton->get_definition_manager().get_country_manager().get_country_by_identifier("ENG")
+ game_singleton->get_definition_manager().get_country_definition_manager().get_country_definition_by_identifier("ENG")
}) {
ERR_CONTINUE(country == nullptr);