1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-01 13:24:25 +01:00

Remove some testing crap.

This commit is contained in:
Nicholas Hastings 2015-07-09 06:54:44 -04:00
parent fcb4849b3c
commit cb8b0fd8d5
2 changed files with 1 additions and 22 deletions

View File

@ -427,15 +427,6 @@ DoInitialPluginLoads()
mm_LoadPlugins(filepath, vdfpath);
}
ConVar *net_maxroutable;
ConCommand *map;
extern ConCommand meta_local_cmd;
CON_COMMAND(meta_test, "")
{
Msg("hi\n");
}
void
mm_StartupMetamod(bool is_vsp_load)
{
@ -447,17 +438,6 @@ mm_StartupMetamod(bool is_vsp_load)
METAMOD_VERSION,
is_vsp_load ? "V" : "");
net_maxroutable = g_pCVar->FindVar("net_maxroutable");
map = g_pCVar->FindCommand("logaddress_add");
meta_local_cmd.AddFlags(0);
meta_test_command.AddFlags(0);
CCommand cmd;
cmd.Tokenize("logaddress_add 192.168.5.9:33333");
map->Dispatch(CCommandContext(0), cmd);
Msg("logaddress_add is at 0x%p\n", map);
Msg("meta_local_cmd is at 0x%p\n", &meta_local_cmd);
metamod_version = provider->CreateConVar("metamod_version",
METAMOD_VERSION,
"Metamod:Source Version",

View File

@ -167,8 +167,7 @@ void BaseProvider::Notify_DLLInit_Pre(CreateInterfaceFn engineFactory,
g_pCVar = icvar;
#endif
ConVar_Register(0, &g_SMConVarAccessor);
//g_SMConVarAccessor.RegisterConCommandBase(&meta_local_cmd);
g_SMConVarAccessor.RegisterConCommandBase(&meta_local_cmd);
CacheUserMessages();