diff options
Diffstat (limited to 'src/mapgen/mg_decoration.h')
-rw-r--r-- | src/mapgen/mg_decoration.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mapgen/mg_decoration.h b/src/mapgen/mg_decoration.h index 1f9eb4510..1ea02a527 100644 --- a/src/mapgen/mg_decoration.h +++ b/src/mapgen/mg_decoration.h @@ -25,6 +25,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "noise.h" #include "nodedef.h" +typedef u16 biome_t; // copy from mg_biome.h to avoid an unnecessary include + class Mapgen; class MMVManip; class PcgRandom; @@ -72,7 +74,7 @@ public: s16 nspawnby; s16 place_offset_y = 0; - std::unordered_set<u8> biomes; + std::unordered_set<biome_t> biomes; protected: void cloneTo(Decoration *def) const; |