mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@875 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a939f0fb48
commit
cb9e2c1487
2 changed files with 6 additions and 6 deletions
|
@ -643,7 +643,7 @@ static int defsparser(scriptfile *script)
|
|||
lastmodelid = md_loadmodel(modelfn);
|
||||
if (lastmodelid < 0)
|
||||
{
|
||||
initprintf("Failure loading MD2/MD3 model \"%s\"\n", modelfn);
|
||||
initprintf("Warning: Failed loading MD2/MD3 model \"%s\"\n", modelfn);
|
||||
break;
|
||||
}
|
||||
md_setmisc(lastmodelid,(float)scale, shadeoffs,0.0,0);
|
||||
|
@ -858,16 +858,16 @@ static int defsparser(scriptfile *script)
|
|||
seenframe = 0;
|
||||
|
||||
if (scriptfile_getstring(script,&modelfn)) break;
|
||||
|
||||
if (scriptfile_getbraces(script,&modelend)) break;
|
||||
#if defined(POLYMOST) && defined(USE_OPENGL)
|
||||
lastmodelid = md_loadmodel(modelfn);
|
||||
if (lastmodelid < 0)
|
||||
{
|
||||
initprintf("Failure loading MD2/MD3 model \"%s\"\n", modelfn);
|
||||
initprintf("Warning: Failed loading MD2/MD3 model \"%s\"\n", modelfn);
|
||||
script->textptr = modelend+1;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
if (scriptfile_getbraces(script,&modelend)) break;
|
||||
while (script->textptr < modelend)
|
||||
{
|
||||
int token = getatoken(script,modeltokens,sizeof(modeltokens)/sizeof(tokenlist));
|
||||
|
|
|
@ -8692,8 +8692,8 @@ static int parsedefinitions_game(scriptfile *script, const int preload)
|
|||
|
||||
if (!included)
|
||||
{
|
||||
initprintf("Warning: Failed including %s on line %s:%d\n",
|
||||
fn, script->filename,scriptfile_getlinum(script,cmdtokptr));
|
||||
// initprintf("Warning: Failed including %s on line %s:%d\n",
|
||||
// fn, script->filename,scriptfile_getlinum(script,cmdtokptr));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue