diff options
author | Mattes D <github@xoft.cz> | 2015-06-13 08:46:05 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-06-13 08:46:05 +0200 |
commit | f0ee0b8ce8d56b6279f0b180f987951144fd85dc (patch) | |
tree | 23f0874c6a35a07dd4b00f13e7cb9e72c77826a7 | |
parent | If defined, not just if. (diff) | |
download | cuberite-f0ee0b8ce8d56b6279f0b180f987951144fd85dc.tar cuberite-f0ee0b8ce8d56b6279f0b180f987951144fd85dc.tar.gz cuberite-f0ee0b8ce8d56b6279f0b180f987951144fd85dc.tar.bz2 cuberite-f0ee0b8ce8d56b6279f0b180f987951144fd85dc.tar.lz cuberite-f0ee0b8ce8d56b6279f0b180f987951144fd85dc.tar.xz cuberite-f0ee0b8ce8d56b6279f0b180f987951144fd85dc.tar.zst cuberite-f0ee0b8ce8d56b6279f0b180f987951144fd85dc.zip |
-rw-r--r-- | src/NetherPortalScanner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/NetherPortalScanner.cpp b/src/NetherPortalScanner.cpp index fe563509d..7bc2d4b7e 100644 --- a/src/NetherPortalScanner.cpp +++ b/src/NetherPortalScanner.cpp @@ -109,9 +109,9 @@ bool cNetherPortalScanner::OnAllChunksAvailable(void) // Find the bottom of this portal while (m_World->GetBlock(m_PortalLoc.x, m_PortalLoc.y, m_PortalLoc.z) == E_BLOCK_NETHER_PORTAL) { - m_PortalLoc.y -= 1.0; + m_PortalLoc.y -= 1; } - m_PortalLoc.y += 1.0; + m_PortalLoc.y += 1; // Figure out which way the portal is facing int BXP = m_World->GetBlock(m_PortalLoc.x + 1, m_PortalLoc.y, m_PortalLoc.z); |