mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 08:41:59 +00:00
- 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
|
@ -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.
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue