engine: client: don't spawn model effects for players, like GoldSrc

This commit is contained in:
Alibek Omarov 2024-01-05 04:09:20 +03:00
parent d2bbe9dfd2
commit be26ecf1c9
1 changed files with 4 additions and 8 deletions

View File

@ -2765,15 +2765,11 @@ void CL_AddModelEffects( cl_entity_t *ent )
vec3_t neworigin;
vec3_t oldorigin;
if( !ent->model ) return;
if( !ent->model || ent->player )
return;
switch( ent->model->type )
{
case mod_alias:
case mod_studio:
break;
default: return;
}
if( ent->model->type != mod_alias && ent->model->type != mod_studio )
return;
if( cls.demoplayback == DEMO_QUAKE1 )
{