aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/GameManager.cpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-08-17 21:18:28 +0200
committer Hop311 <hop3114@gmail.com>2023-08-20 19:30:03 +0200
commit6f4a6c77c6f2613e65a403c3a2964d5041a538c7 (patch)
tree59829a5914ddcbe0bec150da536b06176c9e0055 /src/openvic/GameManager.cpp
parentbec619fc8f554cb075fcef2428f3b6bdb5e88e82 (diff)
Moved index_t back to Province
Diffstat (limited to 'src/openvic/GameManager.cpp')
-rw-r--r--src/openvic/GameManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic/GameManager.cpp b/src/openvic/GameManager.cpp
index 580dc4b..ce56afc 100644
--- a/src/openvic/GameManager.cpp
+++ b/src/openvic/GameManager.cpp
@@ -45,7 +45,7 @@ Date const& GameManager::get_today() const {
return today;
}
-return_t GameManager::expand_building(index_t province_index, const std::string_view building_type_identifier) {
+return_t GameManager::expand_building(Province::index_t province_index, const std::string_view building_type_identifier) {
set_needs_update();
Province* province = map.get_province_by_index(province_index);
if (province == nullptr) return FAILURE;