mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
0b5cae201e
1 changed files with 2 additions and 1 deletions
|
|
@ -5196,7 +5196,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…
Add table
Reference in a new issue