Fix Crystal Caverns ripple and ceiling slopes

This commit is contained in:
GenericHeroGuy 2025-07-18 23:44:36 +02:00
parent e62684d113
commit 19b8ec4414
2 changed files with 5 additions and 0 deletions

View file

@ -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;

View file

@ -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;
}