Added includes and some other mysterious changes

This commit is contained in:
Steve Dudenhoeffer
2004-08-22 03:58:31 +00:00
parent 51caf26399
commit 3a78aff06d
5 changed files with 474 additions and 9 deletions

View File

@ -18,17 +18,17 @@ void ServerActivate(edict_t *pEdictList, int edictCount, int clientMax)
g_player_edicts[i]=pEdictList + i;
RETURN_META(MRES_IGNORED);
}
#define RESETD(call) \
g_pFunctionTable->pfn##call = NULL; \
g_pFunctionTable_Post->pfn##call = NULL; \
Engine[FM_##call].clear(); \
EnginePost[FM_##call].clear();
#define RESETD(tcall) \
g_pFunctionTable->pfn##tcall =0; \
g_pFunctionTable_Post->pfn##tcall =NULL; \
Engine[FM_##tcall##].clear(); \
EnginePost[FM_##tcall##].clear()
#define RESETE(call) \
g_pengfuncsTable->pfn##call = NULL; \
g_pengfuncsTable_Post->pfn##call = NULL; \
Engine[FM_##call].clear(); \
EnginePost[FM_##call].clear();
EnginePost[FM_##call].clear()
void OnPluginsLoaded()
{
@ -152,4 +152,4 @@ void OnPluginsLoaded()
RESETD(AllowLagCompensation);
g_pFunctionTable->pfnServerActivate = ServerActivate;
}
}