about summary refs log tree commit diff
path: root/src/game/server
diff options
context:
space:
mode:
authorAdam Jaworski <savander.pl@gmail.com>2015-08-15 00:03:43 +0200
committerAdam Jaworski <savander.pl@gmail.com>2015-08-15 00:03:43 +0200
commit5c653fad210d3521245b1b837cd1f331aa1a7c60 (patch)
treea446ac0df7d28766484ba2b16abf898fe98204bf /src/game/server
parenta63534b1d4df293c2f0e5d31500b53438aca7f7a (diff)
downloadzcatch-5c653fad210d3521245b1b837cd1f331aa1a7c60.tar.gz
zcatch-5c653fad210d3521245b1b837cd1f331aa1a7c60.zip
One more IF DEFINED(CONf_SQL) fixed.
Diffstat (limited to 'src/game/server')
-rw-r--r--src/game/server/gamecontext.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/server/gamecontext.h b/src/game/server/gamecontext.h
index 3cb6245c..1802f074 100644
--- a/src/game/server/gamecontext.h
+++ b/src/game/server/gamecontext.h
@@ -14,7 +14,9 @@
 #include "eventhandler.h"
 #include "gamecontroller.h"
 #include "gameworld.h"
+#if defined(CONF_SQL)
 #include "ranking.h"
+#endif
 #include "player.h"
 
 
@@ -101,9 +103,9 @@ public:
 
 	CEventHandler m_Events;
 	CPlayer *m_apPlayers[MAX_CLIENTS];
-
+#if defined(CONF_SQL)
     class CRanking *m_Ranking;
-
+#endif
 	IGameController *m_pController;
 	CGameWorld m_World;