summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorGargaj <gargaj@conspiracy.hu>2015-12-10 20:41:51 +0100
committerGargaj <gargaj@conspiracy.hu>2015-12-10 20:54:55 +0100
commitd05fdbdee99a2e77fc8662ba7288d36052ecfad7 (patch)
treea34ab94fc73c193ec62a41b4af5070d230b0f2b4 /src/Entities
parentMerge pull request #2720 from cuberite/OreNestsFix (diff)
downloadcuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar.gz
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar.bz2
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar.lz
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar.xz
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar.zst
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Floater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Floater.cpp b/src/Entities/Floater.cpp
index 29d59e6c4..0b96f12df 100644
--- a/src/Entities/Floater.cpp
+++ b/src/Entities/Floater.cpp
@@ -155,7 +155,7 @@ void cFloater::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
}
m_CountDownTime--;
- if (m_World->GetHeight(POSX_TOINT, POSY_TOINT) == POSZ_TOINT)
+ if (m_World->GetHeight(POSX_TOINT, POSZ_TOINT) == POSY_TOINT)
{
if (m_World->IsWeatherWet() && m_World->GetTickRandomNumber(3) == 0) // 25% chance of an extra countdown when being rained on.
{