aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/ProvinceHistory.cpp
diff options
context:
space:
mode:
author BuildTools <unconfigured@null.spigotmc.org>2023-11-20 08:23:08 +0100
committer hop311 <hop3114@gmail.com>2023-12-17 20:43:53 +0100
commitee9562c767631fbec6b444cf18f2435d24848e93 (patch)
tree8c5a770d6cf6d01c6b92247ae89522f9165967ef /src/openvic-simulation/history/ProvinceHistory.cpp
parente6b455b8924948761dbd792756303efe18875c6d (diff)
Additional adjacency loading
Diffstat (limited to 'src/openvic-simulation/history/ProvinceHistory.cpp')
-rw-r--r--src/openvic-simulation/history/ProvinceHistory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/history/ProvinceHistory.cpp b/src/openvic-simulation/history/ProvinceHistory.cpp
index 4e92300..db998b7 100644
--- a/src/openvic-simulation/history/ProvinceHistory.cpp
+++ b/src/openvic-simulation/history/ProvinceHistory.cpp
@@ -101,7 +101,7 @@ void ProvinceHistoryManager::lock_province_histories(Map const& map, bool detail
for (size_t idx = 0; idx < province_checklist.size(); ++idx) {
if (!province_checklist[idx]) {
Province const& province = *map.get_province_by_index(idx + 1);
- if (!province.get_water()) {
+ if (!province.is_water()) {
if (detailed_errors) {
Logger::warning("Province history missing for province: ", province.get_identifier());
}