In the absence of boss3 waypoints AND kart waypoints, use legacy checkpoints

This makes stairs-like maps playable again
This commit is contained in:
GenericHeroGuy 2025-10-26 13:56:01 +01:00
parent 45c1e2edd3
commit 9527c1ed4a
2 changed files with 4 additions and 2 deletions

View file

@ -644,6 +644,7 @@ static INT16 K_GetBubbleDamage(mobj_t* itm)
}
/*FALLTHRU*/
case MT_ORBINAUT:
{
fixed_t momentum = K_Momentum3D(itm);
// Reward players on the offensive by letting fast Orbinauts shatter Bubble Shields.
@ -654,6 +655,7 @@ static INT16 K_GetBubbleDamage(mobj_t* itm)
}
break;
}
default:
break;
}

View file

@ -11372,12 +11372,12 @@ boolean K_GetKartInvinType(void)
boolean K_UsingLegacyCheckpoints(void)
{
if (K_UsingPatchedMap() && waypointcap)
if (K_UsingPatchedMap() && waypointcap != NULL)
{
// we're presumably adding waypoints to an existing map
return false;
}
if (numbosswaypoints > 0)
if (numbosswaypoints > 0 || waypointcap == NULL)
{
// We are using Kart V1 waypoints!
return true;