summaryrefslogtreecommitdiffstats
path: root/src/Map.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-20 22:36:24 +0100
committermadmaxoft <github@xoft.cz>2014-03-20 22:36:24 +0100
commit62f84d968a71ab14f6d79696fd1312a17239ba60 (patch)
tree0fcc5c7192de84edcba547f417c9b5f1bb62077e /src/Map.cpp
parentPlugins can set flying speed. (diff)
parentFixed enum checking functions not being called in generated code (diff)
downloadcuberite-62f84d968a71ab14f6d79696fd1312a17239ba60.tar
cuberite-62f84d968a71ab14f6d79696fd1312a17239ba60.tar.gz
cuberite-62f84d968a71ab14f6d79696fd1312a17239ba60.tar.bz2
cuberite-62f84d968a71ab14f6d79696fd1312a17239ba60.tar.lz
cuberite-62f84d968a71ab14f6d79696fd1312a17239ba60.tar.xz
cuberite-62f84d968a71ab14f6d79696fd1312a17239ba60.tar.zst
cuberite-62f84d968a71ab14f6d79696fd1312a17239ba60.zip
Diffstat (limited to 'src/Map.cpp')
-rw-r--r--src/Map.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Map.cpp b/src/Map.cpp
index 2d8f57168..79370b097 100644
--- a/src/Map.cpp
+++ b/src/Map.cpp
@@ -243,7 +243,7 @@ bool cMap::UpdatePixel(unsigned int a_X, unsigned int a_Z)
{
for (unsigned int Z = m_RelZ; Z < m_RelZ + PixelWidth; ++Z)
{
- unsigned int WaterDepth = 0;
+ // unsigned int WaterDepth = 0;
BLOCKTYPE TargetBlock = E_BLOCK_AIR;
NIBBLETYPE TargetMeta = 0;
@@ -261,12 +261,14 @@ bool cMap::UpdatePixel(unsigned int a_X, unsigned int a_Z)
continue;
}
// TODO 2014-02-22 xdot: Check if block is liquid
+ /*
else if (false)
{
--Height;
++WaterDepth;
continue;
}
+ */
break;
}