Added trivial? czero support

This commit is contained in:
David Anderson 2004-04-08 16:30:36 +00:00
parent 2a460d8c18
commit 1d9cba3fcf

View File

@ -1065,7 +1065,7 @@ C_DLLEXPORT int GetEntityAPI2_Post( DLL_FUNCTIONS *pFunctionTable, int *interfac
enginefuncs_t meta_engfuncs; enginefuncs_t meta_engfuncs;
C_DLLEXPORT int GetEngineFunctions(enginefuncs_t *pengfuncsFromEngine, int *interfaceVersion ) { C_DLLEXPORT int GetEngineFunctions(enginefuncs_t *pengfuncsFromEngine, int *interfaceVersion ) {
if ( stricmp(g_mod_name.str(),"cstrike") == 0 ) if ( stricmp(g_mod_name.str(),"cstrike") == 0 || stricmp(g_mod_name.str(),"czero")==0 )
{ {
meta_engfuncs.pfnSetModel = SetModel; meta_engfuncs.pfnSetModel = SetModel;
g_bmod_cstrike = true; g_bmod_cstrike = true;