mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Change this condition a bit
This commit is contained in:
parent
90ca018318
commit
ffa78e1531
1 changed files with 3 additions and 3 deletions
|
|
@ -3439,13 +3439,13 @@ void P_SpecialStageDamage(player_t *player, mobj_t *inflictor, mobj_t *source)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inflictor->type == MT_LHRT)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (source->player->ctfteam == player->ctfteam)
|
if (source->player->ctfteam == player->ctfteam)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (inflictor->type == MT_LHRT)
|
||||||
|
return;
|
||||||
|
|
||||||
if (player->powers[pw_shield] || player->bot) //If One-Hit Shield
|
if (player->powers[pw_shield] || player->bot) //If One-Hit Shield
|
||||||
{
|
{
|
||||||
P_RemoveShield(player);
|
P_RemoveShield(player);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue