PM's fix: engclient_cmd is now client_cmd

This commit is contained in:
David Anderson
2004-06-28 18:54:58 +00:00
parent eeebee0e18
commit cf137b54ad
3 changed files with 20 additions and 1 deletions

View File

@ -922,6 +922,7 @@ void C_MessageEnd_Post(void) {
RETURN_META(MRES_IGNORED);
}
#if 0
const char *C_Cmd_Args( void )
{
// if the global "fake" flag is set, which means that engclient_cmd was used, supercede the function
@ -948,6 +949,7 @@ int C_Cmd_Argc( void )
// otherwise ignore it
RETURN_META_VALUE(MRES_IGNORED, 0);
}
#endif
// Grenade has been thrown.
// Only here we may find out who is an owner.
@ -1230,9 +1232,11 @@ C_DLLEXPORT int GetEngineFunctions(enginefuncs_t *pengfuncsFromEngine, int *inte
g_bmod_dod = !stricmp(g_mod_name.str(),"dod");
}
#if 0
meta_engfuncs.pfnCmd_Argc = C_Cmd_Argc;
meta_engfuncs.pfnCmd_Argv = C_Cmd_Argv;
meta_engfuncs.pfnCmd_Args = C_Cmd_Args;
#endif
meta_engfuncs.pfnPrecacheModel = C_PrecacheModel;
meta_engfuncs.pfnPrecacheSound = C_PrecacheSound;