summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-24 15:39:05 +0100
committerMattes D <github@xoft.cz>2014-11-24 15:39:05 +0100
commite23bde503f08f0776a76f8cd59d8f6fc31f1c6ec (patch)
treeb1e30aab231b1959fbcec6834b2a8b7f37a3ae24 /src/World.h
parentMerge pull request #1612 from p-mcgowan/pigsIntoZombiePigmenOnLightning (diff)
parentChanged back capitalization. (diff)
downloadcuberite-e23bde503f08f0776a76f8cd59d8f6fc31f1c6ec.tar
cuberite-e23bde503f08f0776a76f8cd59d8f6fc31f1c6ec.tar.gz
cuberite-e23bde503f08f0776a76f8cd59d8f6fc31f1c6ec.tar.bz2
cuberite-e23bde503f08f0776a76f8cd59d8f6fc31f1c6ec.tar.lz
cuberite-e23bde503f08f0776a76f8cd59d8f6fc31f1c6ec.tar.xz
cuberite-e23bde503f08f0776a76f8cd59d8f6fc31f1c6ec.tar.zst
cuberite-e23bde503f08f0776a76f8cd59d8f6fc31f1c6ec.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index fe57b0789..68d0654ee 100644
--- a/src/World.h
+++ b/src/World.h
@@ -696,6 +696,8 @@ public:
inline size_t GetStorageLoadQueueLength(void) { return m_Storage.GetLoadQueueLength(); } // tolua_export
inline size_t GetStorageSaveQueueLength(void) { return m_Storage.GetSaveQueueLength(); } // tolua_export
+ cLightingThread & GetLightingThread(void) { return m_Lighting; }
+
void InitializeSpawn(void);
/** Starts threads that belong to this world */