mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-31 22:00:46 +00:00
Avoid warnings when defining only extra in tilefromtexture
# Conflicts: # source/build/src/defs.cpp
This commit is contained in:
parent
26333dcaad
commit
8b0da35cb8
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ static int32_t defsparser(scriptfile *script)
|
||||||
if (haveextra)
|
if (haveextra)
|
||||||
picanm[tile].extra = extra;
|
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",
|
Printf("\nError: missing 'file name' for tilefromtexture definition near line %s:%d",
|
||||||
script->filename, scriptfile_getlinum(script,texturetokptr));
|
script->filename, scriptfile_getlinum(script,texturetokptr));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue