aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/PopulationMenu.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-07-04 17:33:40 +0200
committer GitHub <noreply@github.com>2024-07-04 17:33:40 +0200
commit88dd4ab93ca80cd677528e15043e8b6121c05562 (patch)
tree2933b65a98ef0a4b32c4bd848ecdad574bc1cfde /extension/src/openvic-extension/singletons/PopulationMenu.cpp
parent6797e64ce8179635d56b73b5b4783eca560cbf11 (diff)
parent99a85d03de5297f2c7c29aedfc83e4e37cbc795b (diff)
Merge pull request #236 from OpenVicProject/country-definition
Use CountryDefinition and CountryInstance
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);