Probably actually fixes #4. Regardless, I want to note that this is really sub-optimal.

# Conflicts:
#	source/duke3d/src/m32def.cpp
This commit is contained in:
Richard C. Gobeille 2020-04-21 12:41:40 -07:00 committed by Christoph Oelckers
parent 61d82c8152
commit 32ddabb12c

View file

@ -5602,7 +5602,7 @@ repeatcase:
case CON_NULLOP:
{
auto const kw = C_GetKeyword();
if (EDUKE32_PREDICT_FALSE(kw != CON_ELSE && kw != CON_LEFTBRACE))
if (EDUKE32_PREDICT_FALSE(kw != CON_ELSE && kw != CON_RIGHTBRACE))
{
C_ReportError(-1);
g_warningCnt++;