From 70b09c647f0d4f98232c655158eaa4fba6fdb7ca Mon Sep 17 00:00:00 2001 From: toaster Date: Tue, 31 Oct 2023 20:15:50 +0000 Subject: [PATCH] A_ForceWin: Health should not matter --- src/p_enemy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index 0df3684d1..2f7700a30 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -9247,8 +9247,8 @@ void A_ForceWin(mobj_t *actor) for (i = 0; i < MAXPLAYERS; i++) { - if (playeringame[i] && ((players[i].mo && players[i].mo->health) - && !(players[i].pflags & PF_NOCONTEST))) + if (playeringame[i] + && !(players[i].pflags & PF_NOCONTEST)) break; }