about summary refs log tree commit diff
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
parenta63534b1d4df293c2f0e5d31500b53438aca7f7a (diff)
downloadzcatch-5c653fad210d3521245b1b837cd1f331aa1a7c60.tar.gz
zcatch-5c653fad210d3521245b1b837cd1f331aa1a7c60.zip
One more IF DEFINED(CONf_SQL) fixed.
-rw-r--r--.gitignore2
-rw-r--r--src/game/server/gamecontext.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 849a7459..bb390493 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,5 @@ config.cfg
 banmaster*
 .settings/*
 .settings
+*.bat
+*.exe
\ No newline at end of file
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;