summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-05 09:28:01 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-05 09:28:01 +0200
commitb73bf1a1e37a9455ff32cef37d23e0441d6ec555 (patch)
treed4032ff93b6e6f70d36c51231aeccf9630185b35 /src/Mobs/Monster.cpp
parentFixed compilation (diff)
downloadcuberite-b73bf1a1e37a9455ff32cef37d23e0441d6ec555.tar
cuberite-b73bf1a1e37a9455ff32cef37d23e0441d6ec555.tar.gz
cuberite-b73bf1a1e37a9455ff32cef37d23e0441d6ec555.tar.bz2
cuberite-b73bf1a1e37a9455ff32cef37d23e0441d6ec555.tar.lz
cuberite-b73bf1a1e37a9455ff32cef37d23e0441d6ec555.tar.xz
cuberite-b73bf1a1e37a9455ff32cef37d23e0441d6ec555.tar.zst
cuberite-b73bf1a1e37a9455ff32cef37d23e0441d6ec555.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index c25ee6b75..0f030da2d 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -1034,7 +1034,7 @@ void cMonster::HandleDaylightBurning(cChunk & a_Chunk)
(a_Chunk.GetBlock(RelX, RelY, RelZ) != E_BLOCK_SOULSAND) && // Not on soulsand
(GetWorld()->GetTimeOfDay() < (12000 + 1000)) && // It is nighttime
!IsOnFire() && // Not already burning
- (IsBiomeNoDownfall(a_Chunk.GetBiomeAt(RelX, RelZ)) || GetWorld()->IsWeatherWet()) // Not raining
+ (IsBiomeNoDownfall(a_Chunk.GetBiomeAt(RelX, RelZ)) || !GetWorld()->IsWeatherWet()) // Not raining
)
{
// Burn for 100 ticks, then decide again