mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-16 01:31:30 +00:00
Don't use shield abilities after the armageddon's used up!
This commit is contained in:
parent
6570912b1a
commit
f77c3444a3
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue