1
0

Very minor code changes

This commit is contained in:
Tiger Wang
2014-05-29 16:58:55 +01:00
parent cea3a8e7e8
commit 60a37c1370
3 changed files with 3 additions and 3 deletions

View File

@@ -1024,7 +1024,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
(GetWorld()->GetWeather() != eWeather_Rain) // Not raining
(GetWorld()->IsWeatherWet()) // Not raining
)
{
// Burn for 100 ticks, then decide again