Don't respawn on the finish line waypoint

This causes you to respawn at the waypoint before the finish line waypoint,
which I think looks a bit nicer.
This commit is contained in:
James R 2021-02-15 23:08:32 -08:00
parent 130e1fc4f9
commit 9fae8dbb41

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