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:
terminx 2019-02-20 21:32:39 +00:00
parent 22ec4599b0
commit 523121a995

View file

@ -5529,6 +5529,8 @@ repeatcase:
{ {
initprintf("%s:%d: error: quote number exceeds limit of %d.\n",g_scriptFileName,g_lineNumber,MAXQUOTES); initprintf("%s:%d: error: quote number exceeds limit of %d.\n",g_scriptFileName,g_lineNumber,MAXQUOTES);
g_errorCnt++; g_errorCnt++;
scriptSkipLine();
continue;
} }
else else
{ {