mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- Fixed: The resurrect cheat also needs to restore flags6 to their default settings.
SVN r3952 (trunk)
This commit is contained in:
parent
181cfd80b2
commit
db4d58b2b8
1 changed files with 1 additions and 0 deletions
|
@ -310,6 +310,7 @@ void cht_DoCheat (player_t *player, int cheat)
|
|||
player->mo->flags3 = player->mo->GetDefault()->flags3;
|
||||
player->mo->flags4 = player->mo->GetDefault()->flags4;
|
||||
player->mo->flags5 = player->mo->GetDefault()->flags5;
|
||||
player->mo->flags6 = player->mo->GetDefault()->flags6;
|
||||
player->mo->renderflags &= ~RF_INVISIBLE;
|
||||
player->mo->height = player->mo->GetDefault()->height;
|
||||
player->mo->special1 = 0; // required for the Hexen fighter's fist attack.
|
||||
|
|
Loading…
Reference in a new issue