mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
fixed: skies should be loaded into the FLevelLocals struct not into the global variables of the renderer.
This commit is contained in:
parent
fedf9c6a5b
commit
e718a72b4d
1 changed files with 2 additions and 2 deletions
|
@ -1408,8 +1408,8 @@ void G_SerializeLevel (FArchive &arc, bool hubLoad)
|
|||
}
|
||||
else
|
||||
{
|
||||
sky1texture = TexMan.GetTexture (arc.ReadName(), FTexture::TEX_Wall, FTextureManager::TEXMAN_Overridable|FTextureManager::TEXMAN_ReturnFirst);
|
||||
sky2texture = TexMan.GetTexture (arc.ReadName(), FTexture::TEX_Wall, FTextureManager::TEXMAN_Overridable|FTextureManager::TEXMAN_ReturnFirst);
|
||||
level.skytexture1 = TexMan.GetTexture(arc.ReadName(), FTexture::TEX_Wall, FTextureManager::TEXMAN_Overridable | FTextureManager::TEXMAN_ReturnFirst);
|
||||
level.skytexture2 = TexMan.GetTexture(arc.ReadName(), FTexture::TEX_Wall, FTextureManager::TEXMAN_Overridable | FTextureManager::TEXMAN_ReturnFirst);
|
||||
}
|
||||
if (arc.IsLoading())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue