From acd54c6edfacc667267a6ed3b9eee659a3e14c33 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Mon, 1 Aug 2016 22:18:54 +0500 Subject: [PATCH] Rework DNO_VOICEGAMEMGR macro. --- dlls/multiplay_gamerules.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/multiplay_gamerules.cpp b/dlls/multiplay_gamerules.cpp index cd5ffaf2..43a24077 100644 --- a/dlls/multiplay_gamerules.cpp +++ b/dlls/multiplay_gamerules.cpp @@ -26,7 +26,9 @@ #include "skill.h" #include "game.h" #include "items.h" +#ifndef NO_VOICEGAMEMGR #include "voice_gamemgr.h" +#endif #include "hltv.h" extern DLL_GLOBAL CGameRules *g_pGameRules; @@ -46,7 +48,6 @@ float g_flIntermissionStartTime = 0; #ifndef NO_VOICEGAMEMGR CVoiceGameMgr g_VoiceGameMgr; -#endif class CMultiplayGameMgrHelper : public IVoiceGameMgrHelper { @@ -66,7 +67,7 @@ public: }; static CMultiplayGameMgrHelper g_GameMgrHelper; - +#endif //********************************************************* // Rules for the half-life multiplayer game. //*********************************************************