From 64f6f5a84abd820904c1643fa6b90ea2c83965c5 Mon Sep 17 00:00:00 2001 From: Jaime Passos Date: Wed, 4 Dec 2019 15:41:29 -0300 Subject: [PATCH] fix Ploadflat warning --- src/p_setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/p_setup.c b/src/p_setup.c index 9054b582c..25139bf2b 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -568,7 +568,9 @@ or NULL if we want to allocate it now. static INT32 Ploadflat (levelflat_t *levelflat, const char *flatname) { +#ifndef NO_PNG_LUMPS UINT8 buffer[8]; +#endif lumpnum_t flatnum; int texturenum;