summaryrefslogtreecommitdiff
path: root/src/mg_biome.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mg_biome.h')
-rw-r--r--src/mg_biome.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mg_biome.h b/src/mg_biome.h
index 4e7e3fd7e..7e789d3b1 100644
--- a/src/mg_biome.h
+++ b/src/mg_biome.h
@@ -26,11 +26,11 @@ struct NoiseParams;
enum BiomeType
{
- BIOME_TYPE_NORMAL,
- BIOME_TYPE_LIQUID,
- BIOME_TYPE_NETHER,
- BIOME_TYPE_AETHER,
- BIOME_TYPE_FLAT
+ BIOME_NORMAL,
+ BIOME_LIQUID,
+ BIOME_NETHER,
+ BIOME_AETHER,
+ BIOME_FLAT
};
class Biome : public ObjDef, public NodeResolver {
@@ -68,7 +68,7 @@ public:
return "biome";
}
- Biome *create(int btt)
+ static Biome *create(BiomeType type)
{
return new Biome;
}