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

This commit is contained in:
Alibek Omarov 2023-03-15 06:29:17 +03:00
parent 4ada40e8a8
commit d085c5a843

View File

@ -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;