[Clonekeenplus-commits] [SCM] clonekeenplus branch, master, updated. eda035899eacd17018d4d8e426e0ea
Commander Keen Interpreter
Brought to you by:
gerstrong
From: Gerstrong <ger...@us...> - 2010-10-24 08:36:33
|
via eda035899eacd17018d4d8e426e0eaf456239e71 (commit) from e1da21b9ca1caac5a1ef3bba035a1bccb0d285f1 (commit) - Log ----------------------------------------------------------------- commit eda035899eacd17018d4d8e426e0eaf456239e71 Author: Gerhard Stein <ger...@gm...> Date: Sun Oct 24 10:35:55 2010 +0200 small fix ----------------------------------------------------------------------- Summary of changes: src/CGameControl.cpp | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/CGameControl.cpp b/src/CGameControl.cpp index 981b8cf..8672e4b 100644 --- a/src/CGameControl.cpp +++ b/src/CGameControl.cpp @@ -109,11 +109,11 @@ bool CGameControl::init(char mode) if(!loadMenuResources()) return false; - struct WaitThread: public Action + struct GamesScan: public Action { CGameLauncher*& mp_GameLauncher; - WaitThread(CGameLauncher*& p_GameLauncher) : mp_GameLauncher(p_GameLauncher) {}; + GamesScan(CGameLauncher*& p_GameLauncher) : mp_GameLauncher(p_GameLauncher) {}; int handle() { mp_GameLauncher = new CGameLauncher(); @@ -127,8 +127,9 @@ bool CGameControl::init(char mode) } }; + const std::string threadname = "Scanning Game-Directory"; // He we start the thread for cycling the loading screen - return (g_pResourceLoader->RunLoadAction(new WaitThread(mp_GameLauncher), "Scanning Game-Directory") == 1); + return (g_pResourceLoader->RunLoadAction(new GamesScan(mp_GameLauncher), threadname) == 1); } else if(m_mode == PASSIVE) { hooks/post-receive -- clonekeenplus |