aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Province.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-12-27 21:08:03 +0100
committer hop311 <hop3114@gmail.com>2023-12-27 21:19:54 +0100
commit86e558e69aa5c34395d5f3b17566cf5ad2731af5 (patch)
tree78e0431edc32edb50be206ad78064eb28879342a /src/openvic-simulation/map/Province.hpp
parentcc808c115d8ec6c7b6e47db47f81395b4d52941f (diff)
Made ProvinceSet use Province const* and updated Region loading
Diffstat (limited to 'src/openvic-simulation/map/Province.hpp')
-rw-r--r--src/openvic-simulation/map/Province.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/map/Province.hpp b/src/openvic-simulation/map/Province.hpp
index 8a9f9e9..58fe29e 100644
--- a/src/openvic-simulation/map/Province.hpp
+++ b/src/openvic-simulation/map/Province.hpp
@@ -87,7 +87,7 @@ namespace OpenVic {
private:
/* Immutable attributes (unchanged after initial game load) */
const index_t PROPERTY(index);
- Region* PROPERTY(region);
+ Region const* PROPERTY(region);
bool PROPERTY(on_map);
bool PROPERTY(has_region);
bool PROPERTY_CUSTOM_PREFIX(water, is);