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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user