diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 14cff3e04..41a1836da 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,6 @@ June 22, 2006 (Changes by Graf Zahl) +- Fixed: The resurrect cheat didn't reset the player's damage type so + if he died by being frozen the blue blend didn't disappear. - Fixed: FWarpTexture::MakeTexture must be declared virtual so that the FWarp2Texture version of it can be called. diff --git a/src/m_cheat.cpp b/src/m_cheat.cpp index 6a2aabced..29d86e0cb 100644 --- a/src/m_cheat.cpp +++ b/src/m_cheat.cpp @@ -294,6 +294,7 @@ void cht_DoCheat (player_t *player, int cheat) player->mo->height = player->mo->GetDefault()->height; player->mo->SetState (player->mo->SpawnState); player->mo->Translation = TRANSLATION(TRANSLATION_Players, BYTE(player-players)); + player->mo->DamageType = MOD_UNKNOWN; // player->mo->GiveDefaultInventory(); P_SetPsprite(player, ps_weapon, player->ReadyWeapon->UpState); }