summaryrefslogtreecommitdiffstats
path: root/source/ChunkMap.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-15 17:29:20 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-15 17:29:20 +0200
commita67760f7c98a9e57a61ee9c61a2175a33ebcb91b (patch)
treee4079bd37abb06465a5bce59d3af397ec2be2b2a /source/ChunkMap.h
parentFixed The MagicCarpet plugin (diff)
downloadcuberite-a67760f7c98a9e57a61ee9c61a2175a33ebcb91b.tar
cuberite-a67760f7c98a9e57a61ee9c61a2175a33ebcb91b.tar.gz
cuberite-a67760f7c98a9e57a61ee9c61a2175a33ebcb91b.tar.bz2
cuberite-a67760f7c98a9e57a61ee9c61a2175a33ebcb91b.tar.lz
cuberite-a67760f7c98a9e57a61ee9c61a2175a33ebcb91b.tar.xz
cuberite-a67760f7c98a9e57a61ee9c61a2175a33ebcb91b.tar.zst
cuberite-a67760f7c98a9e57a61ee9c61a2175a33ebcb91b.zip
Diffstat (limited to '')
-rw-r--r--source/ChunkMap.h3
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: