summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-06-13 08:46:05 +0200
committerMattes D <github@xoft.cz>2015-06-13 08:46:05 +0200
commitf0ee0b8ce8d56b6279f0b180f987951144fd85dc (patch)
tree23f0874c6a35a07dd4b00f13e7cb9e72c77826a7 /src
parentIf defined, not just if. (diff)
downloadcuberite-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
Diffstat (limited to 'src')
-rw-r--r--src/NetherPortalScanner.cpp4
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);