summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-21 21:42:10 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-21 21:42:29 +0200
commit1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3 (patch)
treef802a5eaf85f82770253574aedff7998e34775e5 /src/Entities/Entity.cpp
parentImplemented PR suggestions (diff)
downloadcuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar
cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar.gz
cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar.bz2
cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar.lz
cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar.xz
cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.tar.zst
cuberite-1296c5dce71f59f1d7b2bfd1791a22daa26f2cb3.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index d42c49abe..9110cd83b 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -869,7 +869,7 @@ void cEntity::TickBurning(cChunk & a_Chunk)
// Remember the current burning state:
bool HasBeenBurning = (m_TicksLeftBurning > 0);
- if (IsBiomeNoDownfall(a_Chunk.GetBiomeAt(POSX_TOINT - a_Chunk.GetPosX() * cChunkDef::Width, POSZ_TOINT - a_Chunk.GetPosZ() * cChunkDef::Width)) || GetWorld()->IsWeatherWet())
+ if (GetWorld()->IsWeatherWetAt(POSX_TOINT, POSZ_TOINT))
{
if (POSY_TOINT > m_World->GetHeight(POSX_TOINT, POSZ_TOINT))
{