diff --git a/ref/soft/r_local.h b/ref/soft/r_local.h index a58f6453..4011e267 100644 --- a/ref/soft/r_local.h +++ b/ref/soft/r_local.h @@ -125,7 +125,6 @@ typedef struct const ref_viewpass_t rvp; qboolean drawWorld; // ignore world for drawing PlayerModel - qboolean isSkyVisible; // sky is visible qboolean onlyClientDraw; // disabled by client request qboolean drawOrtho; // draw world as orthogonal projection diff --git a/ref/soft/r_main.c b/ref/soft/r_main.c index 58615560..889e83c7 100644 --- a/ref/soft/r_main.c +++ b/ref/soft/r_main.c @@ -502,10 +502,7 @@ static void R_SetupFrame( void ) // current viewleaf if( RI.drawWorld ) - { - RI.isSkyVisible = false; // unknown at this moment R_FindViewLeaf(); - } // setup twice until globals fully refactored R_SetupFrameQ();