diff options
Diffstat (limited to '')
-rw-r--r-- | source/ChunkMap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/ChunkMap.h b/source/ChunkMap.h index 1af26c39a..f8f03e063 100644 --- a/source/ChunkMap.h +++ b/source/ChunkMap.h @@ -298,6 +298,9 @@ public: /// Queues the specified block for ticking (block update) void QueueTickBlock(int a_BlockX, int a_BlockY, int a_BlockZ); + + /// Returns the CS for locking the chunkmap; only cWorld::cLock may use this function! + cCriticalSection & GetCS(void) { return m_CSLayers; } private: |