mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +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:
|
case SH_ARMAGEDDON:
|
||||||
// Don't let Super Sonic or invincibility use it
|
// Don't let Super Sonic or invincibility use it
|
||||||
if (!(player->powers[pw_super] || player->powers[pw_invulnerability]))
|
if (!(player->powers[pw_super] || player->powers[pw_invulnerability]))
|
||||||
|
{
|
||||||
|
player->pflags |= PF_THOKKED|PF_SHIELDABILITY;
|
||||||
P_BlackOw(player);
|
P_BlackOw(player);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
// Attract shield activation
|
// Attract shield activation
|
||||||
case SH_ATTRACT:
|
case SH_ATTRACT:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue