Merge r_stretchsky and r_capsky into r_skymode
This commit is contained in:
parent
5de8112578
commit
2fe545a4fd
4 changed files with 17 additions and 8 deletions
|
|
@ -63,7 +63,7 @@
|
|||
#pragma warning(disable:4244)
|
||||
#endif
|
||||
|
||||
CVAR(Bool, r_capsky, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
|
||||
EXTERN_CVAR(Int, r_skymode)
|
||||
|
||||
//EXTERN_CVAR (Int, tx)
|
||||
//EXTERN_CVAR (Int, ty)
|
||||
|
|
@ -1059,7 +1059,7 @@ static void R_DrawCapSky(visplane_t *pl)
|
|||
|
||||
static void R_DrawSky (visplane_t *pl)
|
||||
{
|
||||
if (r_capsky)
|
||||
if (r_skymode == 2)
|
||||
{
|
||||
R_DrawCapSky(pl);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue