From a2f8b84b5a36a7a7e8cb2e9ec759e680a5f2fc7e Mon Sep 17 00:00:00 2001 From: toaster Date: Sun, 6 Oct 2019 16:17:11 +0100 Subject: [PATCH] Good catch by MS. --- src/p_enemy.c | 2 +- src/p_user.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index 2a5f2d46e..26b28b0c9 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -5486,7 +5486,7 @@ void A_MinusPopup(mobj_t *actor) if (actor->tracer) P_DamageMobj(actor->tracer, actor, actor, 1, 0); - actor->flags = (actor->flags &~ MF_NOCLIPTHING)|MF_SPECIAL|MF_SHOOTABLE; + actor->flags = (actor->flags & ~MF_NOCLIPTHING)|MF_SPECIAL|MF_SHOOTABLE; } // Function: A_MinusCheck diff --git a/src/p_user.c b/src/p_user.c index c8d5ba877..a72a00a11 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -8855,7 +8855,7 @@ void P_NukeEnemies(mobj_t *inflictor, mobj_t *source, fixed_t radius) continue; if (mo->type == MT_MINUS && !(mo->flags & (MF_SPECIAL|MF_SHOOTABLE))) - mo->flags |= MF_SPECIAL|MF_SHOOTABLE; + mo->flags = (mo->flags & ~MF_NOCLIPTHING)|MF_SPECIAL|MF_SHOOTABLE; if (mo->type == MT_EGGGUARD && mo->tracer) //nuke Egg Guard's shield! P_KillMobj(mo->tracer, inflictor, source, DMG_NUKE);