aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/GameManager.cpp
diff options
context:
space:
mode:
author ClarkeCode <33846391+ClarkeCode@users.noreply.github.com>2023-04-29 03:39:28 +0200
committer GitHub <noreply@github.com>2023-04-29 03:39:28 +0200
commit1f8545facd248bbf4ea0cd551fea5f7d9b0efdce (patch)
tree0accf6d2c5479afb99649351ccf485b63520ac81 /extension/src/openvic2/GameManager.cpp
parent05937359e8c53ee76dc3ce537dd70083a016f766 (diff)
parentef0d15bef9c35f261c4d09bbb23a2b8731acd3fc (diff)
Merge pull request #100 from OpenVic2Project/goods
Addition of goods struct
Diffstat (limited to 'extension/src/openvic2/GameManager.cpp')
-rw-r--r--extension/src/openvic2/GameManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/openvic2/GameManager.cpp b/extension/src/openvic2/GameManager.cpp
index 78992f1..ca6e8ab 100644
--- a/extension/src/openvic2/GameManager.cpp
+++ b/extension/src/openvic2/GameManager.cpp
@@ -38,7 +38,7 @@ Date const& GameManager::get_today() const {
return today;
}
-return_t GameManager::expand_building(Province::index_t province_index, std::string const& building_type_identifier) {
+return_t GameManager::expand_building(index_t province_index, std::string const& building_type_identifier) {
set_needs_update();
Province* province = map.get_province_by_index(province_index);
if (province == nullptr) return FAILURE;