mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Add line numbers to a couple of .def parsing warning messages. At some point these should probably all be cleaned up, similar to how they're handled with CON parsing. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5243 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
37bbdd500b
commit
9898876f27
1 changed files with 4 additions and 2 deletions
|
@ -1364,14 +1364,16 @@ static int32_t defsparser(scriptfile *script)
|
|||
if (EDUKE32_PREDICT_FALSE(lastmodelid < 0))
|
||||
{
|
||||
#ifdef USE_OPENGL
|
||||
initprintf("Warning: Ignoring frame definition.\n");
|
||||
initprintf("Warning: ignoring frame definition on line %s:%d.\n",
|
||||
script->filename, scriptfile_getlinum(script,frametokptr));
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
if (smoothduration > 1.0)
|
||||
{
|
||||
initprintf("Warning: smoothduration out of range.\n");
|
||||
initprintf("Warning: smoothduration out of range on line %s:%d.\n",
|
||||
script->filename, scriptfile_getlinum(script,frametokptr));
|
||||
smoothduration = 1.0;
|
||||
}
|
||||
#ifdef USE_OPENGL
|
||||
|
|
Loading…
Reference in a new issue