mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
Prevent addlogvar from accepting constants, which causes a crash
git-svn-id: https://svn.eduke32.com/eduke32@7765 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
940df04eb6
commit
465403a199
1 changed files with 5 additions and 1 deletions
|
@ -3562,6 +3562,11 @@ DO_DEFSTATE:
|
|||
C_GetNextVarType((tw == CON_GETTSPR) ? GAMEVAR_READONLY : 0);
|
||||
continue;
|
||||
}
|
||||
case CON_ADDLOGVAR:
|
||||
g_labelsOnly = 1;
|
||||
C_GetNextVar();
|
||||
g_labelsOnly = 0;
|
||||
continue;
|
||||
|
||||
case CON_COS:
|
||||
case CON_DIVR:
|
||||
|
@ -3578,7 +3583,6 @@ DO_DEFSTATE:
|
|||
C_GetNextVarType(GAMEVAR_READONLY);
|
||||
fallthrough__;
|
||||
case CON_ACTIVATECHEAT:
|
||||
case CON_ADDLOGVAR:
|
||||
case CON_ANGOFF:
|
||||
case CON_CHECKACTIVATORMOTION:
|
||||
case CON_CHECKAVAILINVEN:
|
||||
|
|
Loading…
Reference in a new issue