- Fixed: using custom automap backgrounds crashed.

SVN r1735 (trunk)
This commit is contained in:
Christoph Oelckers 2009-07-24 20:25:19 +00:00
commit 25c0f679cb
3 changed files with 6 additions and 3 deletions

View file

@ -262,7 +262,7 @@ bool P_UndoPlayerMorph (player_t *activator, player_t *player, bool force)
if ((player->health > 0) || undobydeathsaves)
{
player->health = mo->health = mo->GetDefault()->health;
player->health = mo->health = mo->SpawnHealth();
}
else // killed when morphed so stay dead
{