diff --git a/src/actor.h b/src/actor.h index d870e8df2..6e8af2498 100644 --- a/src/actor.h +++ b/src/actor.h @@ -909,7 +909,6 @@ public: return GetClass()->ActorInfo->FindState(2, names, exact); } - bool HasSpecialDeathStates () const; }; diff --git a/src/p_enemy.cpp b/src/p_enemy.cpp index 4b80d5b68..eff234af9 100644 --- a/src/p_enemy.cpp +++ b/src/p_enemy.cpp @@ -2579,6 +2579,8 @@ static bool P_CheckForResurrection(AActor *self, bool usevilestates) corpsehit->flags2 = info->flags2; corpsehit->flags3 = info->flags3; corpsehit->flags4 = info->flags4; + corpsehit->flags5 = info->flags5; + corpsehit->flags6 = info->flags6; corpsehit->health = info->health; corpsehit->target = NULL; corpsehit->lastenemy = NULL;