mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +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
|
// spawn it
|
||||||
mo = AActor::StaticSpawn(mobj->GetClass(), DVector3(mobj->SpawnPoint.X, mobj->SpawnPoint.Y, z), NO_REPLACE, true);
|
mo = AActor::StaticSpawn(mobj->GetClass(), DVector3(mobj->SpawnPoint.X, mobj->SpawnPoint.Y, z), NO_REPLACE, true);
|
||||||
|
mo->health = mobj->SpawnHealth();
|
||||||
|
|
||||||
if (z == ONFLOORZ)
|
if (z == ONFLOORZ)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue