mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix switch/case regressions introduced in r5577.
git-svn-id: https://svn.eduke32.com/eduke32@5594 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
93884b1a91
commit
798685ee80
1 changed files with 3 additions and 2 deletions
|
@ -4837,12 +4837,12 @@ DO_DEFSTATE:
|
|||
g_checkingCase++;
|
||||
repeatcase:
|
||||
g_scriptPtr--;
|
||||
g_numCases++;
|
||||
|
||||
C_SkipComments();
|
||||
|
||||
if (tw == CON_CASE)
|
||||
{
|
||||
g_numCases++;
|
||||
C_GetNextValue(LABEL_DEFINE);
|
||||
j= *(--g_scriptPtr);
|
||||
}
|
||||
|
@ -4887,6 +4887,7 @@ repeatcase:
|
|||
{
|
||||
//AddLog("Found Repeat Case");
|
||||
C_GetNextKeyword(); // eat keyword
|
||||
tw = j;
|
||||
goto repeatcase;
|
||||
}
|
||||
|
||||
|
@ -4900,11 +4901,11 @@ repeatcase:
|
|||
{
|
||||
C_GetNextKeyword(); // eat keyword
|
||||
tempscrptr = (intptr_t *)(script+tempoffset);
|
||||
tw = j;
|
||||
goto repeatcase;
|
||||
}
|
||||
}
|
||||
|
||||
tempscrptr = (intptr_t *)(script+tempoffset);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue