cEntity doesn't process physics / burning when in an invalid chunk
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1680 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
df34c43293
commit
1b20cfa425
@ -450,10 +450,16 @@ void cEntity::Tick(float a_Dt, cChunk & a_Chunk)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (a_Chunk.IsValid())
|
||||||
{
|
{
|
||||||
HandlePhysics(a_Dt, a_Chunk);
|
HandlePhysics(a_Dt, a_Chunk);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
if (a_Chunk.IsValid())
|
||||||
|
{
|
||||||
TickBurning(a_Chunk);
|
TickBurning(a_Chunk);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user