From bcc1450ba930d991e9569d05810aa4aada68869d Mon Sep 17 00:00:00 2001 From: faketruth Date: Wed, 26 Oct 2011 13:07:39 +0000 Subject: Fixed bug in cMakeDir where it would only create directories named "world" The user input thread now properly stops when the server restarts or stops git-svn-id: http://mc-server.googlecode.com/svn/trunk@13 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cRoot.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/cRoot.h') diff --git a/source/cRoot.h b/source/cRoot.h index 0ba59ae93..95f2e236e 100644 --- a/source/cRoot.h +++ b/source/cRoot.h @@ -1,5 +1,6 @@ #pragma once +class cThread; class cMonsterConfig; class cMCLogger; class cGroupManager; @@ -46,7 +47,8 @@ private: bool m_bStop; bool m_bRestart; - void* m_hInputThread; + cThread* m_InputThread; + static void InputThread(void* a_Params); static cRoot* s_Root; }; //tolua_export \ No newline at end of file -- cgit v1.2.3