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:
Blue-Shadow 2016-07-20 06:34:06 +03:00 committed by Christoph Oelckers
parent 69a00ddabb
commit 121db8fd37

View file

@ -348,7 +348,7 @@ void cht_DoCheat (player_t *player, int cheat)
P_SetPsprite(player, PSP_WEAPON, player->ReadyWeapon->GetUpState());
}
if (player->morphTics > 0)
if (player->morphTics)
{
P_UndoPlayerMorph(player, player);
}