mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Merge branch 'no-free-dunk' into 'master'
Don't count dunking a landmine on yourself for the landmine dunk challenge See merge request KartKrew/Kart!2346
This commit is contained in:
commit
d7be08d5c8
1 changed files with 3 additions and 1 deletions
|
|
@ -433,7 +433,9 @@ boolean K_LandMineCollide(mobj_t *t1, mobj_t *t2)
|
||||||
// Banana snipe!
|
// Banana snipe!
|
||||||
if (t1->health > 1)
|
if (t1->health > 1)
|
||||||
{
|
{
|
||||||
if (t1->target && t1->target->player)
|
if (t1->target
|
||||||
|
&& t1->target->player
|
||||||
|
&& t2->player != t1->target->player)
|
||||||
{
|
{
|
||||||
t1->target->player->roundconditions.landmine_dunk = true;
|
t1->target->player->roundconditions.landmine_dunk = true;
|
||||||
t1->target->player->roundconditions.checkthisframe = true;
|
t1->target->player->roundconditions.checkthisframe = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue