From cb9e2c14870d77ca6ca128f2622a710236021183 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 20 Jul 2008 04:12:52 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@875 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/defs.c | 8 ++++---- polymer/eduke32/source/game.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) 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 {