- more exporting of AInventory.
This commit is contained in:
parent
7c6542e595
commit
1750ded7c4
14 changed files with 290 additions and 396 deletions
|
|
@ -108,7 +108,7 @@ static FRandom pr_bfgselfdamage("BFGSelfDamage");
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
bool AInventory::CallStateChain (AActor *actor, FState *state)
|
||||
bool AStateProvider::CallStateChain (AActor *actor, FState *state)
|
||||
{
|
||||
INTBOOL result = false;
|
||||
int counter = 0;
|
||||
|
|
@ -223,9 +223,9 @@ bool AInventory::CallStateChain (AActor *actor, FState *state)
|
|||
return !!result;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(AInventory, CallStateChain)
|
||||
DEFINE_ACTION_FUNCTION(ACustomInventory, CallStateChain)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AInventory);
|
||||
PARAM_SELF_PROLOGUE(AStateProvider);
|
||||
PARAM_OBJECT(affectee, AActor);
|
||||
PARAM_STATE(state);
|
||||
ACTION_RETURN_BOOL(self->CallStateChain(affectee, state));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue