From d289c00ae3e80e7fa0d42b82c40c40ee287d1eb0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 22 Jan 2017 01:28:37 +0100 Subject: [PATCH] - restored a line of code that got lost when fixing the parameter checks in CallStateChain. --- src/p_actionfunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/p_actionfunctions.cpp b/src/p_actionfunctions.cpp index 7a4e92eb2..5f7185a07 100644 --- a/src/p_actionfunctions.cpp +++ b/src/p_actionfunctions.cpp @@ -171,6 +171,7 @@ bool AStateProvider::CallStateChain (AActor *actor, FState *state) { // Function returns a state wantret = &ret[0]; retval = false; // this is a jump function which never affects the success state. + numret = 1; } else if (proto->ReturnTypes.Size() >= 1 && (proto->ReturnTypes[0] == TypeSInt32 || proto->ReturnTypes[0] == TypeUInt32 || proto->ReturnTypes[0] == TypeBool))