- 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. SVN r216 (trunk)
This commit is contained in:
parent
27c00bcb95
commit
1faa6d57a4
2 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue