1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

Fixed up some cruft.

This commit is contained in:
David Anderson 2008-11-24 00:11:54 -06:00
parent 2d227710d2
commit 54feb19d21
2 changed files with 0 additions and 19 deletions

View File

@ -227,8 +227,6 @@ CreateInterface(const char *iface, int *ret)
if (ptr == NULL)
vsp_version = 0;
return ptr;
}
if (ret)

View File

@ -115,23 +115,6 @@ void VSPListener::ServerActivate(edict_t *pEdictList, int edictCount, int client
void VSPListener::Unload()
{
#if 0
if (g_bIsTryingToUnload)
{
Error("Metamod:Source cannot be unloaded from VSP mode. Use \"meta unload\" to unload specific plugins.\n");
return;
}
if (IsRootLoadMethod())
{
if (g_plugin_unload != NULL)
{
SH_REMOVE_HOOK_STATICFUNC(ConCommand, Dispatch, g_plugin_unload, InterceptPluginUnloads, false);
SH_REMOVE_HOOK_STATICFUNC(ConCommand, Dispatch, g_plugin_unload, InterceptPluginUnloads_Post, true);
g_plugin_unload = NULL;
}
UnloadMetamod();
}
#endif
m_bLoaded = false;
m_bLoadable = true;
}