diff options
author | Hop311 <Hop3114@gmail.com> | 2023-12-17 21:23:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-17 21:23:48 +0100 |
commit | 14e47d58b85f657ec1fed8abf88219f09bd3efbb (patch) | |
tree | 8c5a770d6cf6d01c6b92247ae89522f9165967ef /src/openvic-simulation/history | |
parent | e6b455b8924948761dbd792756303efe18875c6d (diff) | |
parent | ee9562c767631fbec6b444cf18f2435d24848e93 (diff) |
Merge pull request #98 from OpenVicProject/additional-adjacencies
Additional adjacency loading
Diffstat (limited to 'src/openvic-simulation/history')
-rw-r--r-- | src/openvic-simulation/history/ProvinceHistory.cpp | 2 |
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()); } |