- fixed: The check for missing textures in Vavoom skyboxes was inverted.

This commit is contained in:
Christoph Oelckers 2016-02-09 15:23:45 +01:00
parent d1f741a53d
commit bd98182095

View file

@ -196,7 +196,7 @@ void gl_ParseVavoomSkybox()
maplump = Wads.CheckNumForFullName(sc.String, true); maplump = Wads.CheckNumForFullName(sc.String, true);
FTexture *tex = TexMan.FindTexture(sc.String, FTexture::TEX_Wall, FTextureManager::TEXMAN_TryAny); 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()); Printf("Texture '%s' not found in Vavoom skybox '%s'\n", sc.String, sb->Name.GetChars());
} }