ref: minor refactoring

This commit is contained in:
Alibek Omarov
2026-02-23 21:46:01 +05:00
parent 109579fa92
commit c63c0ba04b
4 changed files with 8 additions and 11 deletions

View File

@@ -211,7 +211,7 @@ static qboolean R_StudioComputeBBox( vec3_t bbox[8] )
return false;
// check if we have valid mins\maxs
if( !VectorCompare( vec3_origin, RI.currentmodel->mins ))
if( !VectorIsNull( RI.currentmodel->mins ) && !VectorIsNull( RI.currentmodel->maxs ))
{
// clipping bounding box
VectorCopy( RI.currentmodel->mins, mins );