mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
Fix CustomInventory never succeeding
- A != should have been ==.
This commit is contained in:
parent
4770dc2dfb
commit
c3432a1ddb
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ bool ACustomInventory::CallStateChain (AActor *actor, FState *state)
|
|||
stack.Call(state->ActionFunc, params, countof(params), wantret, numret);
|
||||
// As long as even one state succeeds, the whole chain succeeds unless aborted below.
|
||||
// A state that wants to jump does not count as "succeeded".
|
||||
if (nextstate != NULL)
|
||||
if (nextstate == NULL)
|
||||
{
|
||||
result |= retval;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue