From d48fb4250c18991a652a30862910f486742ad62d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 9 Feb 2016 15:23:45 +0100 Subject: [PATCH] - fixed: The check for missing textures in Vavoom skyboxes was inverted. --- src/gl/textures/gl_skyboxtexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/textures/gl_skyboxtexture.cpp b/src/gl/textures/gl_skyboxtexture.cpp index 658eb200420..b6137284ea0 100644 --- a/src/gl/textures/gl_skyboxtexture.cpp +++ b/src/gl/textures/gl_skyboxtexture.cpp @@ -207,7 +207,7 @@ void gl_ParseVavoomSkybox() maplump = Wads.CheckNumForFullName(sc.String, true); FTexture *tex = TexMan.FindTexture(sc.String, FTexture::TEX_Wall, FTextureManager::TEXMAN_TryAny); - if (tex != NULL) + if (tex == NULL) { Printf("Texture '%s' not found in Vavoom skybox '%s'\n", sc.String, sb->Name.GetChars()); }