Skip to content

Commit

Permalink
- fixed: The check for missing textures in Vavoom skyboxes was inverted.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Oelckers committed Feb 9, 2016
1 parent 1f11ba0 commit d48fb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gl/textures/gl_skyboxtexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit d48fb42

Please sign in to comment.