Very minor code changes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user