diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-14 15:12:00 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-14 15:12:00 +0100 |
commit | b829c9b14e95f37a3a5ba70fc42cb8cfe9066522 (patch) | |
tree | 392ccca5055febfca4b36d818b910f1c9b8181cc /src/Map.cpp | |
parent | Removed missiterperatable malfunctioning error handling code (diff) | |
download | cuberite-b829c9b14e95f37a3a5ba70fc42cb8cfe9066522.tar cuberite-b829c9b14e95f37a3a5ba70fc42cb8cfe9066522.tar.gz cuberite-b829c9b14e95f37a3a5ba70fc42cb8cfe9066522.tar.bz2 cuberite-b829c9b14e95f37a3a5ba70fc42cb8cfe9066522.tar.lz cuberite-b829c9b14e95f37a3a5ba70fc42cb8cfe9066522.tar.xz cuberite-b829c9b14e95f37a3a5ba70fc42cb8cfe9066522.tar.zst cuberite-b829c9b14e95f37a3a5ba70fc42cb8cfe9066522.zip |
Diffstat (limited to 'src/Map.cpp')
-rw-r--r-- | src/Map.cpp | 4 |
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; } |