Merge branch 'respawn-before-finish-line' into 'jumping-finish-line-distance'

Respawn before finish line waypoint

See merge request KartKrew/Kart!386
This commit is contained in:
Sal 2021-02-18 18:09:24 -05:00
commit 5651dc2623

View file

@ -11721,6 +11721,8 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj, boolean
if (mthing->args[2] == 1)
{
mobj->extravalue2 = 1; // args[2] of 1 means the waypoint is at the finish line
mobj->reactiontime = 0; // Also don't respawn at finish lines
P_SnapToFinishLine(mobj);
}
else