mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Added trivial? czero support
This commit is contained in:
parent
2a460d8c18
commit
1d9cba3fcf
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user