diff options
author | BrickPi <49528459+BrickPi@users.noreply.github.com> | 2023-11-13 02:25:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 02:25:32 +0100 |
commit | ba7bfc52803781c970d6e8afc84c7d3d3e843726 (patch) | |
tree | 768e068cd0fbe02f1eef1bced2471d0cda920c08 /src/openvic-simulation/map | |
parent | c8983f5cda0b396b76c9d1491cf4c8ff5997d420 (diff) | |
parent | 66226db07d3702cc1c61498ce3fbce3d366b2488 (diff) |
Merge pull request #74 from OpenVicProject/apply-country-history
Country History Improvements
Diffstat (limited to 'src/openvic-simulation/map')
-rw-r--r-- | src/openvic-simulation/map/Province.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/map/Province.cpp b/src/openvic-simulation/map/Province.cpp index 099ba9b..4b76210 100644 --- a/src/openvic-simulation/map/Province.cpp +++ b/src/openvic-simulation/map/Province.cpp @@ -228,7 +228,7 @@ void Province::apply_history_to_province(ProvinceHistoryMap const& history, Date reset_buildings(); - for (const auto& entry : entries) { + for (ProvinceHistoryEntry const* entry : entries) { if (entry->get_life_rating()) life_rating = *entry->get_life_rating(); if (entry->get_colonial()) colony_status = *entry->get_colonial(); if (entry->get_rgo()) rgo = *entry->get_rgo(); |