1
0

Fixed unloading of chunks that contain player entities (#4508)

Co-authored-by: peterbell10 <peterbell10@live.co.uk>
Co-authored-by: mluchterhand <mluchterhand@max.de>
This commit is contained in:
Max Luchterhand
2020-03-18 17:17:59 +00:00
committed by GitHub
parent 57da82524b
commit 384ba18812
3 changed files with 20 additions and 0 deletions

View File

@@ -683,6 +683,9 @@ private:
/** Called by Tick() when an entity moves out of this chunk into a neighbor; moves the entity and sends spawn / despawn packet to clients */
void MoveEntityToNewChunk(OwnedEntity a_Entity);
/** Check m_Entities for cPlayer objects. */
bool HasPlayerEntities();
};
typedef cChunk * cChunkPtr;