From 32ddabb12c636928e2108fe0a8b7af6ee42e3e9a Mon Sep 17 00:00:00 2001 From: "Richard C. Gobeille" Date: Tue, 21 Apr 2020 12:41:40 -0700 Subject: [PATCH] Derp... Probably actually fixes #4. Regardless, I want to note that this is really sub-optimal. # Conflicts: # source/duke3d/src/m32def.cpp --- source/duke3d/src/gamedef.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++;