1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Biome API: Add 'get_biome_name(biome_id)' API

Change name of default biome to a more suitable lowercase 'default'.
This commit is contained in:
paramat 2018-03-09 23:16:23 +00:00 committed by paramat
parent a09a994417
commit 7ad6cdd09b
4 changed files with 29 additions and 3 deletions

View file

@ -40,7 +40,7 @@ BiomeManager::BiomeManager(Server *server) :
// Create default biome to be used in case none exist
Biome *b = new Biome;
b->name = "Default";
b->name = "default";
b->flags = 0;
b->depth_top = 0;
b->depth_filler = -MAX_MAP_GENERATION_LIMIT;