aboutsummaryrefslogtreecommitdiff
path: root/extension/src/GameSingleton.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-08-17 21:55:15 +0200
committer Hop311 <hop3114@gmail.com>2023-09-09 21:52:00 +0200
commit5d127faa9388ecb763846c3bf19190c891d2a583 (patch)
tree414e7e5703a5ff37fbfa79d4df7e94ca0cddd7de /extension/src/GameSingleton.hpp
parent1013b3c21226f703caba954664628694aedde469 (diff)
Moved index_t back to Province
Diffstat (limited to 'extension/src/GameSingleton.hpp')
-rw-r--r--extension/src/GameSingleton.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/GameSingleton.hpp b/extension/src/GameSingleton.hpp
index cd8cdd0..a1d77c1 100644
--- a/extension/src/GameSingleton.hpp
+++ b/extension/src/GameSingleton.hpp
@@ -15,7 +15,7 @@ namespace OpenVic {
TerrainVariant(const std::string_view new_identfier, colour_t new_colour,
godot::Ref<godot::Image> const& new_image);
public:
- static constexpr size_t MAX_INDEX = 1 << (8 * sizeof(Map::terrain_t));
+ static constexpr size_t MAX_TERRIN_VARIANT_COUNT = 1 << (8 * sizeof(Map::terrain_t));
TerrainVariant(TerrainVariant&&) = default;