mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-24 05:44:16 +00:00
ref: gl: fix r_showhull check
This commit is contained in:
parent
f49a2bc8f3
commit
16595bf2c0
@ -39,7 +39,7 @@ void R_DrawWorldHull( void )
|
||||
ClearBits( r_showhull->flags, FCVAR_CHANGED );
|
||||
}
|
||||
|
||||
if( !r_showhull->flags )
|
||||
if( !r_showhull->value )
|
||||
return;
|
||||
|
||||
pglDisable( GL_TEXTURE_2D );
|
||||
@ -62,7 +62,7 @@ void R_DrawModelHull( void )
|
||||
winding_t *poly;
|
||||
int i;
|
||||
|
||||
if( !r_showhull->flags )
|
||||
if( !r_showhull->value )
|
||||
return;
|
||||
|
||||
if( !RI.currentmodel || RI.currentmodel->name[0] != '*' )
|
||||
|
Loading…
x
Reference in New Issue
Block a user