CON: don't accept read-only vars for first arg of qstrlen.

git-svn-id: https://svn.eduke32.com/eduke32@3505 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-02-18 16:07:54 +00:00
parent 8637a7aa22
commit 5dfb4dc48b
1 changed files with 4 additions and 1 deletions

View File

@ -4954,10 +4954,13 @@ repeatcase:
case CON_STARTLEVEL:
case CON_QSTRCAT:
case CON_QSTRCPY:
case CON_QSTRLEN:
case CON_QGETSYSSTR:
C_GetManyVars(2);
continue;
case CON_QSTRLEN:
C_GetNextVarType(GAMEVAR_READONLY);
C_GetNextVar();
continue;
case CON_HEADSPRITESTAT:
case CON_PREVSPRITESTAT:
case CON_NEXTSPRITESTAT: