mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00: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);
|
lastmodelid = md_loadmodel(modelfn);
|
||||||
if (lastmodelid < 0)
|
if (lastmodelid < 0)
|
||||||
{
|
{
|
||||||
initprintf("Failure loading MD2/MD3 model \"%s\"\n", modelfn);
|
initprintf("Warning: Failed loading MD2/MD3 model \"%s\"\n", modelfn);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
md_setmisc(lastmodelid,(float)scale, shadeoffs,0.0,0);
|
md_setmisc(lastmodelid,(float)scale, shadeoffs,0.0,0);
|
||||||
|
@ -858,16 +858,16 @@ static int defsparser(scriptfile *script)
|
||||||
seenframe = 0;
|
seenframe = 0;
|
||||||
|
|
||||||
if (scriptfile_getstring(script,&modelfn)) break;
|
if (scriptfile_getstring(script,&modelfn)) break;
|
||||||
|
if (scriptfile_getbraces(script,&modelend)) break;
|
||||||
#if defined(POLYMOST) && defined(USE_OPENGL)
|
#if defined(POLYMOST) && defined(USE_OPENGL)
|
||||||
lastmodelid = md_loadmodel(modelfn);
|
lastmodelid = md_loadmodel(modelfn);
|
||||||
if (lastmodelid < 0)
|
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;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (scriptfile_getbraces(script,&modelend)) break;
|
|
||||||
while (script->textptr < modelend)
|
while (script->textptr < modelend)
|
||||||
{
|
{
|
||||||
int token = getatoken(script,modeltokens,sizeof(modeltokens)/sizeof(tokenlist));
|
int token = getatoken(script,modeltokens,sizeof(modeltokens)/sizeof(tokenlist));
|
||||||
|
|
|
@ -8692,8 +8692,8 @@ static int parsedefinitions_game(scriptfile *script, const int preload)
|
||||||
|
|
||||||
if (!included)
|
if (!included)
|
||||||
{
|
{
|
||||||
initprintf("Warning: Failed including %s on line %s:%d\n",
|
// initprintf("Warning: Failed including %s on line %s:%d\n",
|
||||||
fn, script->filename,scriptfile_getlinum(script,cmdtokptr));
|
// fn, script->filename,scriptfile_getlinum(script,cmdtokptr));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue