- fixed P_NightmareRespawn did not respawn a map defined spawn health and neither made skill-related adjustments.

This commit is contained in:
Christoph Oelckers 2017-02-05 21:43:16 +01:00
parent 810efe517d
commit a4dbbf6969

View file

@ -3196,6 +3196,7 @@ void P_NightmareRespawn (AActor *mobj)
// spawn it
mo = AActor::StaticSpawn(mobj->GetClass(), DVector3(mobj->SpawnPoint.X, mobj->SpawnPoint.Y, z), NO_REPLACE, true);
mo->health = mobj->SpawnHealth();
if (z == ONFLOORZ)
{