mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Fix really stupid error with CON_NULLOP branch detection
Fixes #4. # Conflicts: # source/duke3d/src/gamedef.cpp # source/duke3d/src/m32def.cpp
This commit is contained in:
parent
94d098f8ef
commit
61d82c8152
1 changed files with 4 additions and 1 deletions
|
@ -5600,7 +5600,9 @@ repeatcase:
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
case CON_NULLOP:
|
case CON_NULLOP:
|
||||||
if (EDUKE32_PREDICT_FALSE(C_GetKeyword() != CON_ELSE))
|
{
|
||||||
|
auto const kw = C_GetKeyword();
|
||||||
|
if (EDUKE32_PREDICT_FALSE(kw != CON_ELSE && kw != CON_LEFTBRACE))
|
||||||
{
|
{
|
||||||
C_ReportError(-1);
|
C_ReportError(-1);
|
||||||
g_warningCnt++;
|
g_warningCnt++;
|
||||||
|
@ -5609,6 +5611,7 @@ repeatcase:
|
||||||
g_skipBranch = true;
|
g_skipBranch = true;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
case CON_GAMESTARTUP:
|
case CON_GAMESTARTUP:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue