mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 03:00:58 +00:00
Fix skipping to the end of def blocks
git-svn-id: https://svn.eduke32.com/eduke32@7938 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
36366c0c98
commit
e7723efcf4
2 changed files with 10 additions and 10 deletions
|
@ -2701,7 +2701,7 @@ static int32_t defsparser(scriptfile *script)
|
|||
|
||||
if (tile != DEFAULTPSKY && (unsigned)tile >= MAXUSERTILES)
|
||||
{
|
||||
script->textptr = blockend;
|
||||
script->textptr = blockend+1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -2789,7 +2789,7 @@ static int32_t defsparser(scriptfile *script)
|
|||
{
|
||||
initprintf("Error: basepalette: Invalid basepal number on line %s:%d\n",
|
||||
script->filename, scriptfile_getlinum(script,cmdtokptr));
|
||||
script->textptr = blockend;
|
||||
script->textptr = blockend+1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -2976,7 +2976,7 @@ static int32_t defsparser(scriptfile *script)
|
|||
{
|
||||
initprintf("Error: palookup: Invalid pal number on line %s:%d\n",
|
||||
script->filename, scriptfile_getlinum(script,cmdtokptr));
|
||||
script->textptr = blockend;
|
||||
script->textptr = blockend+1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -3283,7 +3283,7 @@ static int32_t defsparser(scriptfile *script)
|
|||
{
|
||||
initprintf("Error: blendtable: Invalid blendtable number on line %s:%d\n",
|
||||
script->filename, scriptfile_getlinum(script,cmdtokptr));
|
||||
script->textptr = blockend;
|
||||
script->textptr = blockend+1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -3651,7 +3651,7 @@ static int32_t defsparser(scriptfile *script)
|
|||
char *blockend;
|
||||
if (scriptfile_getbraces(script,&blockend))
|
||||
break;
|
||||
script->textptr = blockend;
|
||||
script->textptr = blockend+1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue