Browse Source

ref: gl: gl_cull: remove thirdperson check, as it handled in client instead

pull/2/head
Alibek Omarov 1 year ago
parent
commit
d085c5a843
  1. 4
      ref/gl/gl_cull.c

4
ref/gl/gl_cull.c

@ -65,10 +65,6 @@ int R_CullModel( cl_entity_t *e, const vec3_t absmin, const vec3_t absmax ) @@ -65,10 +65,6 @@ int R_CullModel( cl_entity_t *e, const vec3_t absmin, const vec3_t absmax )
return 1;
}
// local client can't view himself if camera or thirdperson is not active
if( RP_LOCALCLIENT( e ) && !ENGINE_GET_PARM( PARM_THIRDPERSON ) && CL_IsViewEntityLocalPlayer())
return 1;
if( R_CullBox( absmin, absmax ))
return 1;

Loading…
Cancel
Save