summaryrefslogtreecommitdiffstats
path: root/src/Chunk.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Chunk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index f6e38dc81..9aa963fae 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -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;