summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/Entity.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/Entity.cpp b/source/Entity.cpp
index 80fe0d266..2c822d0cc 100644
--- a/source/Entity.cpp
+++ b/source/Entity.cpp
@@ -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);
}