From 19b8ec4414a95e25ea70df7e0eb3e644c353c65b Mon Sep 17 00:00:00 2001 From: GenericHeroGuy Date: Fri, 18 Jul 2025 23:44:36 +0200 Subject: [PATCH] Fix Crystal Caverns ripple and ceiling slopes --- src/p_setup.c | 4 ++++ src/p_slopes.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/p_setup.c b/src/p_setup.c index 0f16a94bf..c8044fbd7 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -5123,6 +5123,10 @@ static void P_ConvertBinaryLinedefTypes(void) if (lines[i].flags & ML_MIDPEG) sectors[s].flags |= MSF_TRIGGERSPECIAL_TOUCH; + + if (mapnamespace == MNS_SRB2KART) + continue; // the below doesn't exist in kart + if (lines[i].flags & ML_NOSKEW) sectors[s].flags |= MSF_TRIGGERSPECIAL_HEADBUMP; diff --git a/src/p_slopes.c b/src/p_slopes.c index 8c6833eee..f9c8f4a7f 100644 --- a/src/p_slopes.c +++ b/src/p_slopes.c @@ -689,6 +689,7 @@ static void line_SpawnViaMapthingVertexes(const int linenum, const boolean spawn case TMSP_BACKCEILING: slopetoset = &line->backsector->c_slope; side = &sides[line->sidenum[1]]; + break; // this break did not exist between 2019-04-19 and 2023-08-18. let that sink in. default: return; }