- a few more fixes.

This commit is contained in:
Christoph Oelckers 2018-12-16 00:37:34 +01:00
commit 51f03c8215
3 changed files with 5 additions and 3 deletions

View file

@ -38,6 +38,7 @@ FSkyBox::FSkyBox(const char *name)
: FTexture(name)
{
FTextureID texid = TexMan.CheckForTexture(name, ETextureType::Wall);
previous = nullptr;
if (texid.isValid())
{
previous = TexMan.GetTexture(texid);