mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-27 14:12:28 +00:00
- restored a line of code that got lost when fixing the parameter checks in CallStateChain.
This commit is contained in:
parent
ee40135d55
commit
d289c00ae3
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue