Merge branch 'dont-rewrite-the-past' into 'master'
Don't rewrite the past if we might still need to send it See merge request KartKrew/Kart!1333
This commit is contained in:
parent
30e63490cd
commit
3eff2ef292
1 changed files with 2 additions and 1 deletions
|
|
@ -4659,7 +4659,8 @@ static void HandlePacketFromPlayer(SINT8 node)
|
|||
// If we already received a ticcmd for this tic, just submit it for the next one.
|
||||
tic_t faketic = maketic;
|
||||
|
||||
if (!!(netcmds[maketic % BACKUPTICS][netconsole].flags & TICCMD_RECEIVED))
|
||||
if ((!!(netcmds[maketic % BACKUPTICS][netconsole].flags & TICCMD_RECEIVED))
|
||||
&& (maketic - firstticstosend < BACKUPTICS))
|
||||
faketic++;
|
||||
|
||||
// Copy ticcmd
|
||||
|
|
|
|||
Loading…
Reference in a new issue