From 76b6d1a239ddda25a8645ac0e94d45884b71fa5a Mon Sep 17 00:00:00 2001 From: James Haley Date: Sun, 26 Oct 2014 20:29:18 -0500 Subject: Another teleport beacon correction Flag to be cleared is MF_SPECIAL, not MF_SOLID (verified against disassembly). Otherwise you get to spawn an infinite number of rebels from one beacon. Not to mention, it isn't SOLID to start with. --- src/strife/p_enemy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/strife/p_enemy.c') diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c index 6e128679..8aad08fc 100644 --- a/src/strife/p_enemy.c +++ b/src/strife/p_enemy.c @@ -3174,8 +3174,8 @@ void A_TeleportBeacon(mobj_t* actor) return; } - // beacon no longer solid - actor->flags &= ~MF_SOLID; + // beacon no longer special + actor->flags &= ~MF_SPECIAL; // set color and flags mobj->flags |= ((actor->miscdata << MF_TRANSSHIFT) | MF_NODIALOG); -- cgit v1.2.3