mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
P_PlayerRingBurst: check player->curshield directly, handles Garden Top correctly
This commit is contained in:
parent
bfe3e72d3c
commit
cd2219f605
1 changed files with 1 additions and 1 deletions
|
|
@ -3360,7 +3360,7 @@ void P_PlayerRingBurst(player_t *player, INT32 num_rings)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Have a shield? You get hit, but don't lose your rings!
|
// Have a shield? You get hit, but don't lose your rings!
|
||||||
if (K_GetShieldFromItem(player->itemtype) != KSHIELD_NONE)
|
if (player->curshield != KSHIELD_NONE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// 20 is the maximum number of rings that can be taken from you at once - half the span of your counter
|
// 20 is the maximum number of rings that can be taken from you at once - half the span of your counter
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue