G_PlayerReborn didn't work for 'respawns' stats, maybe G_DoReborn will?
This commit is contained in:
1 parent
61bcab727f
commit
db567a3d80
1 file changed
+3
-3
+3
-3
@@ -2430,9 +2430,6 @@ void G_PlayerReborn(INT32 player)
|
||||
|
||||
// If NiGHTS, find lowest mare to start with.
|
||||
p->mare = 0;
|
||||
|
||||
if (!demo.playback && p == &players[consoleplayer])
|
||||
kartstats.respawns++;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2802,6 +2799,9 @@ void G_DoReborn(INT32 playernum)
|
||||
G_SpawnPlayer(playernum, starpost);
|
||||
if (oldmo)
|
||||
G_ChangePlayerReferences(oldmo, players[playernum].mo);
|
||||
|
||||
if (!demo.playback && playernum == consoleplayer)
|
||||
kartstats.respawns++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user