* Updated to ZDoom r3152:

- 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.
- Fixed: Menu mouse navigation didn't work in fullscreen on Linux.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1198 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
gez 2011-02-13 20:26:04 +00:00
parent 516aae10be
commit 26999e7cc2
21 changed files with 80 additions and 41 deletions

View file

@ -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?