- Fixed: The resurrect cheat also needs to restore the player's radius.

SVN r4003 (trunk)
This commit is contained in:
Randy Heit 2013-01-02 01:34:27 +00:00
parent b3ada01bbd
commit db01832519
1 changed files with 1 additions and 0 deletions

View File

@ -313,6 +313,7 @@ void cht_DoCheat (player_t *player, int cheat)
player->mo->flags6 = player->mo->GetDefault()->flags6;
player->mo->renderflags &= ~RF_INVISIBLE;
player->mo->height = player->mo->GetDefault()->height;
player->mo->radius = player->mo->GetDefault()->radius;
player->mo->special1 = 0; // required for the Hexen fighter's fist attack.
// This gets set by AActor::Die as flag for the wimpy death and must be reset here.
player->mo->SetState (player->mo->SpawnState);