- restored a line of code that got lost when fixing the parameter checks in CallStateChain.

This commit is contained in:
Christoph Oelckers 2017-01-22 01:28:37 +01:00
parent ee40135d55
commit d289c00ae3

View file

@ -171,6 +171,7 @@ bool AStateProvider::CallStateChain (AActor *actor, FState *state)
{ // Function returns a state { // Function returns a state
wantret = &ret[0]; wantret = &ret[0];
retval = false; // this is a jump function which never affects the success state. retval = false; // this is a jump function which never affects the success state.
numret = 1;
} }
else if (proto->ReturnTypes.Size() >= 1 && else if (proto->ReturnTypes.Size() >= 1 &&
(proto->ReturnTypes[0] == TypeSInt32 || proto->ReturnTypes[0] == TypeUInt32 || proto->ReturnTypes[0] == TypeBool)) (proto->ReturnTypes[0] == TypeSInt32 || proto->ReturnTypes[0] == TypeUInt32 || proto->ReturnTypes[0] == TypeBool))