git-svn-id: https://svn.eduke32.com/eduke32@875 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-07-20 04:12:52 +00:00
parent a939f0fb48
commit cb9e2c1487
2 changed files with 6 additions and 6 deletions

View file

@ -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));

View file

@ -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
{