From 0eebaf9f6b65561b9cfdecdebe822bfaa2d32a0c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 26 Feb 2017 20:06:16 +0100 Subject: [PATCH] - allow nightmare respawn if the current state has the 'canraise' flag. --- src/p_mobj.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index d14c69aad..23e83425f 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -4437,7 +4437,8 @@ void AActor::Tick () return; // freed itself } } - else + + if (tics == -1 || state->GetCanRaise()) { int respawn_monsters = G_SkillProperty(SKILLP_Respawn); // check for nightmare respawn