mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: minor refactoring
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user