- fixed: FPNGTexture::fr could be left uninitialized.

This commit is contained in:
Christoph Oelckers 2016-12-02 19:37:54 +01:00
parent 9dbfa6d04e
commit 60b1f5c25a

View file

@ -211,6 +211,7 @@ FPNGTexture::FPNGTexture (FileReader &lump, int lumpnum, const FString &filename
int i;
if (lumpnum == -1) fr = &lump;
else fr = nullptr;
UseType = TEX_MiscPatch;
LeftOffset = 0;