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
@ -451,9 +451,15 @@ void cEntity::Tick(float a_Dt, cChunk & a_Chunk)
|
||||
}
|
||||
else
|
||||
{
|
||||
HandlePhysics(a_Dt, a_Chunk);
|
||||
if (a_Chunk.IsValid())
|
||||
{
|
||||
HandlePhysics(a_Dt, a_Chunk);
|
||||
}
|
||||
}
|
||||
if (a_Chunk.IsValid())
|
||||
{
|
||||
TickBurning(a_Chunk);
|
||||
}
|
||||
TickBurning(a_Chunk);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user