diff --git a/polymer/build/src/defs.c b/polymer/build/src/defs.c index b29963831..cb2b96182 100644 --- a/polymer/build/src/defs.c +++ b/polymer/build/src/defs.c @@ -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)); diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 4d173e786..dcebf5b87 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -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 {