Ensure good respawn angle from fallback
This commit is contained in:
parent
378d887a5c
commit
4e42d1ac75
1 changed files with 3 additions and 1 deletions
|
|
@ -8794,7 +8794,7 @@ void K_SetRespawnAtNextWaypoint(player_t * player)
|
|||
if (K_GetWaypointIsFinishline(oopisepoint->nextwaypoints[i]))
|
||||
{
|
||||
// Please don't spawn over the line.
|
||||
currentwaypoint = oopisepoint->nextwaypoints[i];
|
||||
safewaypoint = oopisepoint->nextwaypoints[i];
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -8803,6 +8803,8 @@ void K_SetRespawnAtNextWaypoint(player_t * player)
|
|||
}
|
||||
}
|
||||
|
||||
oopisepoint = safewaypoint;
|
||||
|
||||
if ((oopisepoint->prevwaypoints != NULL) && (oopisepoint->numprevwaypoints > 0))
|
||||
{
|
||||
for (i = 0; i < oopisepoint->numprevwaypoints; i++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue