Skip to content

Instantly share code, notes, and snippets.

@kahrl
Created July 6, 2013 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kahrl/5939885 to your computer and use it in GitHub Desktop.
Save kahrl/5939885 to your computer and use it in GitHub Desktop.
diff --git a/src/biome.cpp b/src/biome.cpp
index 1963001..483e605 100644
--- a/src/biome.cpp
+++ b/src/biome.cpp
@@ -42,10 +42,20 @@
b->name = "Default";
b->flags = 0;
- b->c_top = CONTENT_AIR;
- b->depth_top = 0;
- b->c_filler = CONTENT_AIR;
- b->depth_filler = 0;
+ b->nname_top = "air";
+ b->nname_filler = "air";
+ b->nname_water = "air";
+ b->nname_dust = "air";
+ b->nname_dust_water = "air";
+
+ b->c_top = CONTENT_AIR;
+ b->c_filler = CONTENT_AIR;
+ b->c_water = CONTENT_AIR;
+ b->c_dust = CONTENT_AIR;
+ b->c_dust_water = CONTENT_AIR;
+
+ b->depth_top = 0;
+ b->depth_filler = 0;
b->height_min = -MAP_GENERATION_LIMIT;
b->height_max = MAP_GENERATION_LIMIT;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment