1
0
Fork 0

Remove double-checking below world for burning

This commit is contained in:
Alexander Harkness 2017-08-29 21:27:47 +01:00 committed by Alexander Harkness
parent 7f2c0ef0d6
commit 765db880f9
1 changed files with 0 additions and 5 deletions

View File

@ -1335,11 +1335,6 @@ bool cMonster::WouldBurnAt(Vector3d a_Location, cChunk & a_Chunk)
{
// If the Y coord is out of range, return the most logical result without considering anything else:
int RelY = FloorC(a_Location.y);
if (RelY < 0)
{
// Never burn under the world
return false;
}
if (RelY >= cChunkDef::Height)
{
// Always burn above the world