From 2a54f759145f86fce4ad2a333de6d9cd911d8861 Mon Sep 17 00:00:00 2001 From: savander Date: Sat, 27 Sep 2014 00:34:35 +0200 Subject: zCatch:Ranking --- src/game/server/gamecontext.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/server/gamecontext.cpp') diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 27d17c11..0b618d2d 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -2065,6 +2065,9 @@ void CGameContext::OnInit(/*class IKernel *pKernel*/) m_pController = new CGameControllerDM(this);*/ m_pController = new CGameController_zCatch(this); +#if defined(CONF_SQL) + m_Ranking = new CRanking(this); +#endif // setup core world //for(int i = 0; i < MAX_CLIENTS; i++) // game.players[i].core.world = &game.world.core; -- cgit 1.4.1