From d085c5a84332b262cb2c51e0c30f9879fff641c5 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 15 Mar 2023 06:29:17 +0300 Subject: [PATCH] ref: gl: gl_cull: remove thirdperson check, as it handled in client instead --- ref/gl/gl_cull.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ref/gl/gl_cull.c b/ref/gl/gl_cull.c index 3cd3af1d..cd31c9cc 100644 --- a/ref/gl/gl_cull.c +++ b/ref/gl/gl_cull.c @@ -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;