Skip to content

Commit

Permalink
ref: gl: fix r_showhull check
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed May 29, 2023
1 parent f49a2bc commit 16595bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ref/gl/gl_dbghulls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -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] != '*' )
Expand Down

0 comments on commit 16595bf

Please sign in to comment.