diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 1fb977776..fde3d66d4 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -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. diff --git a/src/m_cheat.cpp b/src/m_cheat.cpp index 1a2762167..3e8fcda73 100644 --- a/src/m_cheat.cpp +++ b/src/m_cheat.cpp @@ -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.