mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix incorrect team gametype rule being used in A_OldRingExplode
This commit is contained in:
parent
604c05801a
commit
895c226548
1 changed files with 3 additions and 3 deletions
|
|
@ -6601,7 +6601,7 @@ void A_OldRingExplode(mobj_t *actor) {
|
||||||
|
|
||||||
if (changecolor)
|
if (changecolor)
|
||||||
{
|
{
|
||||||
if (!(gametyperules & GTR_TEAMFLAGS))
|
if (!(gametyperules & GTR_TEAMS))
|
||||||
mo->color = actor->target->color; //copy color
|
mo->color = actor->target->color; //copy color
|
||||||
else if (actor->target->player->ctfteam == 2)
|
else if (actor->target->player->ctfteam == 2)
|
||||||
mo->color = skincolor_bluering;
|
mo->color = skincolor_bluering;
|
||||||
|
|
@ -6617,7 +6617,7 @@ void A_OldRingExplode(mobj_t *actor) {
|
||||||
|
|
||||||
if (changecolor)
|
if (changecolor)
|
||||||
{
|
{
|
||||||
if (!(gametyperules & GTR_TEAMFLAGS))
|
if (!(gametyperules & GTR_TEAMS))
|
||||||
mo->color = actor->target->color; //copy color
|
mo->color = actor->target->color; //copy color
|
||||||
else if (actor->target->player->ctfteam == 2)
|
else if (actor->target->player->ctfteam == 2)
|
||||||
mo->color = skincolor_bluering;
|
mo->color = skincolor_bluering;
|
||||||
|
|
@ -6632,7 +6632,7 @@ void A_OldRingExplode(mobj_t *actor) {
|
||||||
|
|
||||||
if (changecolor)
|
if (changecolor)
|
||||||
{
|
{
|
||||||
if (!(gametyperules & GTR_TEAMFLAGS))
|
if (!(gametyperules & GTR_TEAMS))
|
||||||
mo->color = actor->target->color; //copy color
|
mo->color = actor->target->color; //copy color
|
||||||
else if (actor->target->player->ctfteam == 2)
|
else if (actor->target->player->ctfteam == 2)
|
||||||
mo->color = skincolor_bluering;
|
mo->color = skincolor_bluering;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue