Browse Source

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

pull/2/head
Alibek Omarov 12 months ago
parent
commit
be26ecf1c9
  1. 12
      engine/client/cl_tent.c

12
engine/client/cl_tent.c

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

Loading…
Cancel
Save