Fixed Linux build

This commit is contained in:
Scott Ehlert 2008-11-12 23:22:33 -06:00
parent c1c5d2656c
commit 2f0965c14b

View File

@ -167,6 +167,7 @@ private:
KTrie<ConCommandBase *> m_CmdFlags; KTrie<ConCommandBase *> m_CmdFlags;
} s_CommandFlagsHelper; } s_CommandFlagsHelper;
#ifndef ORANGEBOX_BUILD
static void ReplicateConVar(ConVar *pConVar) static void ReplicateConVar(ConVar *pConVar)
{ {
int maxClients = g_Players.GetMaxClients(); int maxClients = g_Players.GetMaxClients();
@ -206,6 +207,7 @@ static void NotifyConVar(ConVar *pConVar)
gameevents->FireEvent(pEvent); gameevents->FireEvent(pEvent);
} }
#endif
static cell_t sm_CreateConVar(IPluginContext *pContext, const cell_t *params) static cell_t sm_CreateConVar(IPluginContext *pContext, const cell_t *params)
{ {