From 6c8242cd0a0c0244fdf2cd4c5949f378bf449c91 Mon Sep 17 00:00:00 2001 From: toaster Date: Thu, 2 May 2024 21:55:51 +0100 Subject: [PATCH] Don't count dunking a landmine on yourself for the landmine dunk challenge --- src/k_collide.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/k_collide.cpp b/src/k_collide.cpp index cd76a312d..1b03f57d0 100644 --- a/src/k_collide.cpp +++ b/src/k_collide.cpp @@ -433,7 +433,9 @@ boolean K_LandMineCollide(mobj_t *t1, mobj_t *t2) // Banana snipe! 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.checkthisframe = true;