From 46bbbb038e5fa21e25fa33c4fee84e4b14690885 Mon Sep 17 00:00:00 2001 From: Hop311 Date: Thu, 14 Sep 2023 20:09:10 +0100 Subject: Meta region loading --- src/openvic-simulation/GameManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openvic-simulation/GameManager.cpp') 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 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 { -- cgit v1.2.3-56-ga3b1