From bd981820959c7765172c8d33aec42d34b9814e39 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 c86556ea9..4e4a9c72f 100644 --- a/src/gl/textures/gl_skyboxtexture.cpp +++ b/src/gl/textures/gl_skyboxtexture.cpp @@ -196,7 +196,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()); }