mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Don't crash when attempting to define quotes at indexes that exceed MAXQUOTES
git-svn-id: https://svn.eduke32.com/eduke32@7337 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
22ec4599b0
commit
523121a995
1 changed files with 2 additions and 0 deletions
|
@ -5529,6 +5529,8 @@ repeatcase:
|
|||
{
|
||||
initprintf("%s:%d: error: quote number exceeds limit of %d.\n",g_scriptFileName,g_lineNumber,MAXQUOTES);
|
||||
g_errorCnt++;
|
||||
scriptSkipLine();
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue