Merge branch 'no-tutorial-slope-assist' into 'master'

Don't use Easy slope assist in tutorials

See merge request KartKrew/Kart!1826
This commit is contained in:
James R. 2024-01-12 05:04:39 +00:00
commit d16386f9b5

View file

@ -1173,7 +1173,8 @@ void P_ButteredSlope(mobj_t *mo)
// Easy / Battle: SUPER NERF slope climbs, so that they're usually possible without resources.
// (New players suck at budgeting, and may not remember they have spindash / rings at all!)
if (gamespeed == KARTSPEED_EASY)
// Special exception for Tutorial because we're trying to teach slope mechanics there.
if (gamespeed == KARTSPEED_EASY && gametype != GT_TUTORIAL)
{
// Same as above, but use facing angle:
angle_t easyangle = mo->angle - mo->standingslope->xydirection;