summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-03 23:42:31 +0100
committerMattes D <github@xoft.cz>2014-02-03 23:42:31 +0100
commit41b8315f534ae5888a08d0f3c0985e43e39be350 (patch)
tree0b6ecf1963f6e5b37aa1746d905fee80751b9c23 /src/World.cpp
parentMerge pull request #633 from mc-server/More_Sideways_Blocks (diff)
parentFogot to save Biogen (diff)
downloadcuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar.gz
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar.bz2
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar.lz
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar.xz
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar.zst
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp
index de2002b84..f9a6e7776 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1222,7 +1222,7 @@ void cWorld::GrowTreeByBiome(int a_X, int a_Y, int a_Z)
{
cNoise Noise(m_Generator.GetSeed());
sSetBlockVector Logs, Other;
- GetTreeImageByBiome(a_X, a_Y, a_Z, Noise, (int)(m_WorldAge & 0xffffffff), (EMCSBiome)GetBiomeAt(a_X, a_Z), Logs, Other);
+ GetTreeImageByBiome(a_X, a_Y, a_Z, Noise, (int)(m_WorldAge & 0xffffffff), GetBiomeAt(a_X, a_Z), Logs, Other);
Other.insert(Other.begin(), Logs.begin(), Logs.end());
Logs.clear();
GrowTreeImage(Other);
@@ -1475,7 +1475,7 @@ void cWorld::GrowSugarcane(int a_BlockX, int a_BlockY, int a_BlockZ, int a_NumBl
-int cWorld::GetBiomeAt (int a_BlockX, int a_BlockZ)
+EMCSBiome cWorld::GetBiomeAt (int a_BlockX, int a_BlockZ)
{
return m_ChunkMap->GetBiomeAt(a_BlockX, a_BlockZ);
}