diff options
author | Mattes D <github@xoft.cz> | 2014-02-03 23:42:31 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-02-03 23:42:31 +0100 |
commit | 41b8315f534ae5888a08d0f3c0985e43e39be350 (patch) | |
tree | 0b6ecf1963f6e5b37aa1746d905fee80751b9c23 /src/World.cpp | |
parent | Merge pull request #633 from mc-server/More_Sideways_Blocks (diff) | |
parent | Fogot to save Biogen (diff) | |
download | cuberite-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.cpp | 4 |
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); } |