aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/MenuSingleton.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-06-18 21:30:57 +0200
committer GitHub <noreply@github.com>2024-06-18 21:30:57 +0200
commit5a35e5f511c6af55c63cc0303e05da2812ab21a8 (patch)
tree9f3142a087593addfedebc8ba681472d5b26e942 /extension/src/openvic-extension/singletons/MenuSingleton.cpp
parentace94963c36fb21288dbaf59b0191223adae6521 (diff)
parent72ae774f249fb408d5a3e3de09695c251906a7cc (diff)
Merge pull request #234 from OpenVicProject/good-instance
Update to use GoodInstance
Diffstat (limited to 'extension/src/openvic-extension/singletons/MenuSingleton.cpp')
-rw-r--r--extension/src/openvic-extension/singletons/MenuSingleton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/openvic-extension/singletons/MenuSingleton.cpp b/extension/src/openvic-extension/singletons/MenuSingleton.cpp
index d382d75..92af168 100644
--- a/extension/src/openvic-extension/singletons/MenuSingleton.cpp
+++ b/extension/src/openvic-extension/singletons/MenuSingleton.cpp
@@ -217,7 +217,7 @@ Dictionary MenuSingleton::get_province_info_from_index(int32_t index) const {
ret[province_info_controller_key] = std_view_to_godot_string(controller->get_identifier());
}
- Good const* rgo = province->get_rgo();
+ GoodDefinition const* rgo = province->get_rgo();
if (rgo != nullptr) {
ret[province_info_rgo_name_key] = std_view_to_godot_string(rgo->get_identifier());
ret[province_info_rgo_icon_key] = static_cast<int32_t>(rgo->get_index());