about summary refs log tree commit diff
path: root/src/game/server/gamecontext.cpp
diff options
context:
space:
mode:
authorsavander <savander.pl@gmail.com>2014-09-27 00:34:35 +0200
committersavander <savander.pl@gmail.com>2014-09-27 00:34:35 +0200
commit2a54f759145f86fce4ad2a333de6d9cd911d8861 (patch)
tree8509c538c26ddae9c493fbaed33a8380508d7caf /src/game/server/gamecontext.cpp
parent8c329ade7507d3f1641018f302bf2396af6a471a (diff)
downloadzcatch-2a54f759145f86fce4ad2a333de6d9cd911d8861.tar.gz
zcatch-2a54f759145f86fce4ad2a333de6d9cd911d8861.zip
zCatch:Ranking
Diffstat (limited to 'src/game/server/gamecontext.cpp')
-rw-r--r--src/game/server/gamecontext.cpp3
1 files changed, 3 insertions, 0 deletions
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;