From 8b0da35cb890a418808792f47d0e050476fd6102 Mon Sep 17 00:00:00 2001 From: Evan Ramos Date: Sat, 4 Apr 2020 06:47:34 -0500 Subject: [PATCH] Avoid warnings when defining only extra in tilefromtexture # Conflicts: # source/build/src/defs.cpp --- source/build/src/defs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/defs.cpp b/source/build/src/defs.cpp index 316493de9..9207a9815 100644 --- a/source/build/src/defs.cpp +++ b/source/build/src/defs.cpp @@ -772,7 +772,7 @@ static int32_t defsparser(scriptfile *script) if (haveextra) picanm[tile].extra = extra; - if (EDUKE32_PREDICT_FALSE(flags == 0 && !havexoffset && !haveyoffset)) + if (EDUKE32_PREDICT_FALSE(flags == 0 && !havexoffset && !haveyoffset && !haveextra)) Printf("\nError: missing 'file name' for tilefromtexture definition near line %s:%d", script->filename, scriptfile_getlinum(script,texturetokptr)); break;