summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-04 14:22:50 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-04 14:22:50 +0200
commit01f38d883602045e84fdf98bf3395e97608d9aad (patch)
treea20b433772cc2d388a0972f6a78850a719c8378c /src/Entities/Entity.cpp
parentMerge remote-tracking branch 'origin/master' into portals (diff)
downloadcuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar.gz
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar.bz2
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar.lz
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar.xz
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.tar.zst
cuberite-01f38d883602045e84fdf98bf3395e97608d9aad.zip
Diffstat (limited to 'src/Entities/Entity.cpp')
-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 de6c628e9..16264a608 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 (m_World->IsWeatherWet())
+ if (IsBiomeNoDownfall(a_Chunk.GetBiomeAt(POSX_TOINT - a_Chunk.GetPosX() * cChunkDef::Width, POSZ_TOINT - a_Chunk.GetPosZ() * cChunkDef::Width)) || GetWorld()->IsWeatherWet())
{
if (POSY_TOINT > m_World->GetHeight(POSX_TOINT, POSZ_TOINT))
{