mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +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;
|
||||
|
||||
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);
|
||||
g_warningCnt++;
|
||||
|
@ -5609,6 +5611,7 @@ repeatcase:
|
|||
g_skipBranch = true;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
case CON_GAMESTARTUP:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue