mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- Fixed: Resurrecting a player didn't unset the RF_INVISIBLE flag which is
set when the player is crushed to gibs under a door. SVN r1251 (trunk)
This commit is contained in:
parent
52ad2800d1
commit
1cf770271c
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
October 4, 2008 (Changes by Graf Zahl)
|
||||
- Fixed: Resurrecting a player didn't unset the RF_INVISIBLE flag which is
|
||||
set when the player is crushed to gibs under a door.
|
||||
|
||||
September 28, 2008 (Changes by Graf Zahl)
|
||||
- Fixed: Dropitem gave incorrect amounts to the item if a probability was set.
|
||||
|
||||
|
|
|
@ -306,6 +306,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->renderflags &= ~RF_INVISIBLE;
|
||||
player->mo->height = player->mo->GetDefault()->height;
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue