aboutsummaryrefslogtreecommitdiff
path: root/src/mg_biome.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mg_biome.cpp')
-rw-r--r--src/mg_biome.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mg_biome.cpp b/src/mg_biome.cpp
index dac0f7acc..df728af33 100644
--- a/src/mg_biome.cpp
+++ b/src/mg_biome.cpp
@@ -128,7 +128,7 @@ BiomeGenOriginal::BiomeGenOriginal(BiomeManager *biomemgr,
heatmap = noise_heat->result;
humidmap = noise_humidity->result;
- biomemap = new u8[m_csize.X * m_csize.Z];
+ biomemap = new biome_t[m_csize.X * m_csize.Z];
}
BiomeGenOriginal::~BiomeGenOriginal()
@@ -171,7 +171,7 @@ void BiomeGenOriginal::calcBiomeNoise(v3s16 pmin)
}
-u8 *BiomeGenOriginal::getBiomes(s16 *heightmap)
+biome_t *BiomeGenOriginal::getBiomes(s16 *heightmap)
{
for (s32 i = 0; i != m_csize.X * m_csize.Z; i++) {
Biome *biome = calcBiomeFromNoise(