mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 07:32:28 +00:00
Fixed: The player failed to unmorph upon resurrection
This happened if the morphing was triggered by a PowerMorph power-up.
This commit is contained in:
parent
69a00ddabb
commit
121db8fd37
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ void cht_DoCheat (player_t *player, int cheat)
|
||||||
P_SetPsprite(player, PSP_WEAPON, player->ReadyWeapon->GetUpState());
|
P_SetPsprite(player, PSP_WEAPON, player->ReadyWeapon->GetUpState());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player->morphTics > 0)
|
if (player->morphTics)
|
||||||
{
|
{
|
||||||
P_UndoPlayerMorph(player, player);
|
P_UndoPlayerMorph(player, player);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue