mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix a potentially funny bug in the CON parser
I don't think anyone actually ran into this. git-svn-id: https://svn.eduke32.com/eduke32@7644 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9ac1ce04d6
commit
b854ddff41
1 changed files with 4 additions and 4 deletions
|
@ -4380,7 +4380,7 @@ setvarvar:
|
|||
{
|
||||
j = C_GetKeyword();
|
||||
|
||||
if (j == CON_ELSE || j == CON_LEFTBRACE)
|
||||
if (j == CON_ELSE)
|
||||
g_checkingIfElse++;
|
||||
}
|
||||
continue;
|
||||
|
@ -4433,7 +4433,7 @@ ifvar:
|
|||
{
|
||||
j = C_GetKeyword();
|
||||
|
||||
if (j == CON_ELSE || j == CON_LEFTBRACE)
|
||||
if (j == CON_ELSE)
|
||||
g_checkingIfElse++;
|
||||
}
|
||||
|
||||
|
@ -4941,7 +4941,7 @@ repeatcase:
|
|||
|
||||
j = C_GetKeyword();
|
||||
|
||||
if (j == CON_ELSE || j == CON_LEFTBRACE)
|
||||
if (j == CON_ELSE)
|
||||
g_checkingIfElse++;
|
||||
|
||||
continue;
|
||||
|
@ -4991,7 +4991,7 @@ repeatcase:
|
|||
|
||||
j = C_GetKeyword();
|
||||
|
||||
if (j == CON_ELSE || j == CON_LEFTBRACE)
|
||||
if (j == CON_ELSE)
|
||||
g_checkingIfElse++;
|
||||
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue