diff --git a/source/duke3d/src/gamedef.cpp b/source/duke3d/src/gamedef.cpp index 332ff636d..6ef8229a7 100644 --- a/source/duke3d/src/gamedef.cpp +++ b/source/duke3d/src/gamedef.cpp @@ -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++;