Define MapExtras::BiomeInfo::MAX_LAYERS (#1496)

Definition is required even for constexpr variables in some compilation
setups (e.g. debug builds).
develop
Clément Vuchener 2020-02-15 08:22:58 +01:00 committed by GitHub
parent 9caf6e97e6
commit c2584d615c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

@ -79,6 +79,8 @@ using df::global::world;
extern bool GetLocalFeature(t_feature &feature, df::coord2d rgn_pos, int32_t index); extern bool GetLocalFeature(t_feature &feature, df::coord2d rgn_pos, int32_t index);
constexpr unsigned MapExtras::BiomeInfo::MAX_LAYERS;
const BiomeInfo MapCache::biome_stub = { const BiomeInfo MapCache::biome_stub = {
df::coord2d(), df::coord2d(),
-1, -1, -1, -1, -1, -1, -1, -1,