mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 10:02:01 +00:00
K_DoIngameRespawn: Ring Shooter-induced lightsnake always starts from the previous SPAWNPOINT waypoint, not the previous waypoint in general
This commit is contained in:
parent
5917861d17
commit
5b348ee195
1 changed files with 3 additions and 1 deletions
|
|
@ -178,9 +178,11 @@ void K_DoIngameRespawn(player_t *player)
|
|||
if (player->respawn.fromRingShooter == true)
|
||||
{
|
||||
waypoint_t *prevWP = player->respawn.wp;
|
||||
if (prevWP->numprevwaypoints > 0)
|
||||
while (prevWP->numprevwaypoints > 0)
|
||||
{
|
||||
prevWP = prevWP->prevwaypoints[0];
|
||||
if (K_GetWaypointIsSpawnpoint(prevWP) == true)
|
||||
break;
|
||||
}
|
||||
|
||||
const UINT32 dist = (player->airtime * 48);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue