From 1d434add503894c63f3e8bf1496d591b09854fb0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 4 Aug 2016 17:14:31 +0200 Subject: [PATCH] - fixed: monsters which were made friendly by the MBF map flag lost their friendliness when being revived with Thing_Raise. --- src/p_mobj.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 94df4c3bf..8971efe25 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -6404,6 +6404,7 @@ void AActor::Revive() flags5 = info->flags5; flags6 = info->flags6; flags7 = info->flags7; + if (SpawnFlags & MTF_FRIENDLY) flags |= MF_FRIENDLY; DamageType = info->DamageType; health = SpawnHealth(); target = NULL;