mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed P_NightmareRespawn did not respawn a map defined spawn health and neither made skill-related adjustments.
This commit is contained in:
parent
810efe517d
commit
a4dbbf6969
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue