mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
parent
130e1fc4f9
commit
9fae8dbb41
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue