mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-22 01:01:45 +00:00
In P_KillPlayer, check for the gametype's rules, instead of the gametype itself, before bursting rings.
This commit is contained in:
parent
4b2c88fab8
commit
e03eaa554b
1 changed files with 1 additions and 1 deletions
|
@ -3203,7 +3203,7 @@ static void P_KillPlayer(player_t *player, mobj_t *source, INT32 damage)
|
|||
// Burst weapons and emeralds in Match/CTF only
|
||||
if (source)
|
||||
{
|
||||
if (gametype == GT_MATCH || gametype == GT_TEAMMATCH || gametype == GT_CTF)
|
||||
if ((gametyperules & GTR_RINGSLINGER) && !(gametyperules & GTR_TAG))
|
||||
P_PlayerRingBurst(player, player->rings);
|
||||
if (gametyperules & GTR_MATCHEMERALDS)
|
||||
P_PlayerEmeraldBurst(player, false);
|
||||
|
|
Loading…
Reference in a new issue