diff options
author | Hop311 <hop3114@gmail.com> | 2023-09-14 21:09:10 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-09-14 21:09:10 +0200 |
commit | 46bbbb038e5fa21e25fa33c4fee84e4b14690885 (patch) | |
tree | d7db71a88ac188da7c12c23a12a34637d19ea92d /src/openvic-simulation/GameManager.cpp | |
parent | 5f3e1f3b1b021cbee243236ad8947f203d0416be (diff) |
Meta region loading
Diffstat (limited to 'src/openvic-simulation/GameManager.cpp')
-rw-r--r-- | src/openvic-simulation/GameManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/GameManager.cpp b/src/openvic-simulation/GameManager.cpp index 0b42230..4c8b55f 100644 --- a/src/openvic-simulation/GameManager.cpp +++ b/src/openvic-simulation/GameManager.cpp @@ -63,7 +63,7 @@ bool GameManager::load_hardcoded_defines() { const std::vector<mapmode_t> mapmodes { { "mapmode_terrain", [](Map const&, Province const& province) -> colour_t { - return LOW_ALPHA_VALUE | (province.is_water() ? 0x4287F5 : 0x0D7017); + return LOW_ALPHA_VALUE | (province.get_water() ? 0x4287F5 : 0x0D7017); } }, { "mapmode_province", [](Map const&, Province const& province) -> colour_t { |