- 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
|
|
@ -5532,7 +5532,7 @@ bool P_ActivateThingSpecial(AActor * thing, AActor * trigger, bool death)
|
|||
// Run the special, if any
|
||||
if (thing->special)
|
||||
{
|
||||
res = !! LineSpecials[thing->special] (NULL,
|
||||
res = !! P_ExecuteSpecial(thing->special, NULL,
|
||||
// TriggerActs overrides the level flag, which only concerns thing activated by death
|
||||
(((death && level.flags & LEVEL_ACTOWNSPECIAL && !(thing->activationtype & THINGSPEC_TriggerActs))
|
||||
|| (thing->activationtype & THINGSPEC_ThingActs)) // Who triggers?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue