- fixed: monsters which were made friendly by the MBF map flag lost their friendliness when being revived with Thing_Raise.

This commit is contained in:
Christoph Oelckers 2016-08-04 17:14:31 +02:00
parent 2c38e20352
commit 1d434add50

View file

@ -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;