- moved the static sky variables into FLevelLocals and removed the redundant ones for the texture ID.

This commit is contained in:
Christoph Oelckers 2019-01-29 04:44:44 +01:00
commit 3c565c9e86
13 changed files with 89 additions and 91 deletions

View file

@ -390,8 +390,7 @@ CUSTOM_CVAR (Int, dmflags, 0, CVAR_SERVERINFO)
{
// In case DF_NO_FREELOOK was changed, reinitialize the sky
// map. (If no freelook, then no need to stretch the sky.)
if (sky1texture.isValid())
R_InitSkyMap ();
R_InitSkyMap ();
if (self & DF_NO_FREELOOK)
{