From e1dc15d1653475938488e42646f97562acf9d58c Mon Sep 17 00:00:00 2001 From: sirlemonhead Date: Tue, 3 Dec 2019 15:42:18 +0000 Subject: [PATCH] Added switch case break and returns for Rex --- source/exhumed/src/rex.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/exhumed/src/rex.cpp b/source/exhumed/src/rex.cpp index 1e2111076..aa445b690 100644 --- a/source/exhumed/src/rex.cpp +++ b/source/exhumed/src/rex.cpp @@ -335,6 +335,8 @@ void FuncRex(int a, int nDamage, int nRun) nAction = 1; break; } + + break; } case 2: @@ -401,8 +403,9 @@ void FuncRex(int a, int nDamage, int nRun) RexList[nRex].nAction = 1; RexList[nRex].field_2 = 0; RexList[nRex].field_A = 90; - return; } + + return; } case 3: