Added switch case break and returns for Rex

This commit is contained in:
sirlemonhead 2019-12-03 15:42:18 +00:00 committed by Christoph Oelckers
parent 099a995495
commit e1dc15d165

View file

@ -335,6 +335,8 @@ void FuncRex(int a, int nDamage, int nRun)
nAction = 1; nAction = 1;
break; break;
} }
break;
} }
case 2: case 2:
@ -401,8 +403,9 @@ void FuncRex(int a, int nDamage, int nRun)
RexList[nRex].nAction = 1; RexList[nRex].nAction = 1;
RexList[nRex].field_2 = 0; RexList[nRex].field_2 = 0;
RexList[nRex].field_A = 90; RexList[nRex].field_A = 90;
return;
} }
return;
} }
case 3: case 3: