- Fixed: The resurrect cheat also needs to restore flags6 to their default settings.

SVN r3952 (trunk)
This commit is contained in:
Randy Heit 2012-11-09 05:20:15 +00:00
parent 181cfd80b2
commit db4d58b2b8
1 changed files with 1 additions and 0 deletions

View File

@ -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.