- extended state caller check to work on CustomInventory items as well
Since CallStateChain is a public member in CustomInventory we cannot really be sure that the given state is valid so it needs checking as well.
This commit is contained in:
parent
0a21d19723
commit
cf590d73e4
4 changed files with 36 additions and 27 deletions
|
|
@ -169,6 +169,7 @@ bool AStateProvider::CallStateChain (AActor *actor, FState *state)
|
|||
}
|
||||
try
|
||||
{
|
||||
state->CheckCallerType(actor, this);
|
||||
VMCall(state->ActionFunc, params, state->ActionFunc->ImplicitArgs, wantret, numret);
|
||||
}
|
||||
catch (CVMAbortException &err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue