Don't use shield abilities after the armageddon's used up!

This commit is contained in:
toasterbabe 2016-10-30 14:23:53 +00:00
parent 6570912b1a
commit f77c3444a3

View file

@ -7008,7 +7008,10 @@ static void P_MovePlayer(player_t *player)
case SH_ARMAGEDDON:
// Don't let Super Sonic or invincibility use it
if (!(player->powers[pw_super] || player->powers[pw_invulnerability]))
{
player->pflags |= PF_THOKKED|PF_SHIELDABILITY;
P_BlackOw(player);
}
break;
// Attract shield activation
case SH_ATTRACT: