From e65e04d185cf9e6ce419a08a4c90c454cc4a0f81 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Wed, 27 Aug 2025 00:23:45 -0400 Subject: [PATCH] Apply demo backcompat for changes and bug fixes that affect kart --- src/k_collide.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/k_collide.c b/src/k_collide.c index b61c8b395..4a42a5d70 100644 --- a/src/k_collide.c +++ b/src/k_collide.c @@ -642,7 +642,7 @@ boolean K_KitchenSinkCollide(mobj_t *t1, mobj_t *t2) boolean K_FallingRockCollide(mobj_t *t1, mobj_t *t2) { - if ((t2->player && !t2->player->hyudorotimer) || t2->type == MT_FALLINGROCK) + if ((t2->player && (G_CompatLevel(0x0008) || !t2->player->hyudorotimer)) || t2->type == MT_FALLINGROCK) K_KartBouncing(t2, t1, false, false); return true; @@ -721,13 +721,13 @@ boolean K_PvPTouchDamage(mobj_t *t1, mobj_t *t2) } else if (t1Condition == true && t2Condition == false) { - if (!hyudoroT1) + if (G_CompatLevel(0x0008) || !hyudoroT1) P_DamageMobj(t2, t1, t1, 1, DMG_SQUISH); return true; } else if (t1Condition == false && t2Condition == true) { - if (!hyudoroT2) + if (G_CompatLevel(0x0008) || !hyudoroT2) P_DamageMobj(t1, t2, t2, 1, DMG_SQUISH); return true; }