mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Don't count dunking a landmine on yourself for the landmine dunk challenge
This commit is contained in:
parent
32c43044cb
commit
6c8242cd0a
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