- added a function to execute action specials and changed all calls to use this function. This was done to make it easier to check such calls.
SVN r3152 (trunk)
This commit is contained in:
parent
99df7354b1
commit
1ea5cc8bd8
19 changed files with 77 additions and 38 deletions
|
|
@ -2295,7 +2295,7 @@ void A_DoChase (AActor *actor, bool fastchase, FState *meleestate, FState *missi
|
|||
// as the goal.
|
||||
while ( (spec = specit.Next()) )
|
||||
{
|
||||
LineSpecials[spec->special] (NULL, actor, false, spec->args[0],
|
||||
P_ExecuteSpecial(spec->special, NULL, actor, false, spec->args[0],
|
||||
spec->args[1], spec->args[2], spec->args[3], spec->args[4]);
|
||||
}
|
||||
|
||||
|
|
@ -3134,7 +3134,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_BossDeath)
|
|||
}
|
||||
checked = true;
|
||||
|
||||
LineSpecials[sa->Action](NULL, self, false,
|
||||
P_ExecuteSpecial(sa->Action, NULL, self, false,
|
||||
sa->Args[0], sa->Args[1], sa->Args[2], sa->Args[3], sa->Args[4]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue