ref: soft: only draw MOVETYPE_FOLLOW studio model if it's parent is visible

This commit is contained in:
Alibek Omarov
2024-01-04 21:55:55 +03:00
parent dc1d65f621
commit 6862b14e59
3 changed files with 36 additions and 14 deletions

View File

@@ -476,6 +476,7 @@ void R_SetupRefParams( const struct ref_viewpass_s *rvp );
void R_TranslateForEntity( cl_entity_t *e );
void R_RotateForEntity( cl_entity_t *e );
void R_SetupGL( qboolean set_gl_state );
qboolean R_OpaqueEntity( cl_entity_t *ent );
void R_AllowFog( qboolean allowed );
void R_SetupFrustum( void );
void R_FindViewLeaf( void );