mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-01 20:52:47 +00:00
Fix race split carryover between rounds
This commit is contained in:
parent
385257af73
commit
5e9a80bb32
1 changed files with 3 additions and 2 deletions
|
|
@ -2340,8 +2340,6 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
preffollower = players[player].preffollower;
|
||||
preffollowercolor = players[player].preffollowercolor;
|
||||
|
||||
memcpy(&splits, &players[player].splits, sizeof(splits));
|
||||
|
||||
if (betweenmaps)
|
||||
{
|
||||
fakeskin = MAXSKINS;
|
||||
|
|
@ -2471,6 +2469,8 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
tallyactive = false;
|
||||
|
||||
cangrabitems = 0;
|
||||
|
||||
memset(&splits, 0, sizeof(splits));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -2530,6 +2530,7 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
|
|||
cangrabitems = players[player].cangrabitems;
|
||||
|
||||
duelscore = players[player].duelscore;
|
||||
memcpy(&splits, &players[player].splits, sizeof(splits));
|
||||
}
|
||||
|
||||
spectatorReentry = (betweenmaps ? 0 : players[player].spectatorReentry);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue