diff options
author | paramat <paramat@users.noreply.github.com> | 2018-03-09 23:16:23 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2018-03-11 23:06:17 +0000 |
commit | 7ad6cdd09b55197a25f9af34ad807813eab6247b (patch) | |
tree | 08ee5c4a7fe31172eee7459e31ad97c3fb4c656d /src/mapgen | |
parent | a09a994417a6971313296aa31ef9090636058822 (diff) | |
download | minetest-7ad6cdd09b55197a25f9af34ad807813eab6247b.tar.gz minetest-7ad6cdd09b55197a25f9af34ad807813eab6247b.tar.bz2 minetest-7ad6cdd09b55197a25f9af34ad807813eab6247b.zip |
Biome API: Add 'get_biome_name(biome_id)' API
Change name of default biome to a more suitable lowercase 'default'.
Diffstat (limited to 'src/mapgen')
-rw-r--r-- | src/mapgen/mg_biome.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen/mg_biome.cpp b/src/mapgen/mg_biome.cpp index 38017ea9d..376f2d448 100644 --- a/src/mapgen/mg_biome.cpp +++ b/src/mapgen/mg_biome.cpp @@ -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; |