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:
parent
fcb4849b3c
commit
cb8b0fd8d5
@ -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",
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user