summaryrefslogtreecommitdiffstats
path: root/src/LightingThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LightingThread.h')
-rw-r--r--src/LightingThread.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/LightingThread.h b/src/LightingThread.h
index 0208848f6..6c27ff7ba 100644
--- a/src/LightingThread.h
+++ b/src/LightingThread.h
@@ -52,11 +52,9 @@ class cLightingThread :
public:
- cLightingThread(void);
+ cLightingThread(cWorld & a_World);
virtual ~cLightingThread() override;
- bool Start(cWorld * a_World);
-
void Stop(void);
/** Queues the entire chunk for lighting.
@@ -94,7 +92,7 @@ protected:
typedef std::list<cChunkStay *> cChunkStays;
- cWorld * m_World;
+ cWorld & m_World;
/** The mutex to protect m_Queue and m_PendingQueue */
cCriticalSection m_CS;