diff options
| author | Adam Jaworski <savander.pl@gmail.com> | 2015-08-15 00:03:43 +0200 |
|---|---|---|
| committer | Adam Jaworski <savander.pl@gmail.com> | 2015-08-15 00:03:43 +0200 |
| commit | 5c653fad210d3521245b1b837cd1f331aa1a7c60 (patch) | |
| tree | a446ac0df7d28766484ba2b16abf898fe98204bf | |
| parent | a63534b1d4df293c2f0e5d31500b53438aca7f7a (diff) | |
| download | zcatch-5c653fad210d3521245b1b837cd1f331aa1a7c60.tar.gz zcatch-5c653fad210d3521245b1b837cd1f331aa1a7c60.zip | |
One more IF DEFINED(CONf_SQL) fixed.
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | src/game/server/gamecontext.h | 6 |
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; |