mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- Fixed: The resurrect cheat also needs to restore the player's radius.
SVN r4003 (trunk)
This commit is contained in:
parent
b3ada01bbd
commit
db01832519
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue