mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 12:13:16 +00:00
Merge branch 'solver-debug-ex' into 'master'
Fix holes in ticcmd pacing (wantdelay bug) Closes #1643 See merge request kart-krew-dev/ring-racers-internal!2774
This commit is contained in:
commit
5de0539316
1 changed files with 2 additions and 2 deletions
|
|
@ -5553,8 +5553,8 @@ static void HandlePacketFromPlayer(SINT8 node)
|
|||
// or interp messing with ticcmd send/receive timing. Instead of dropping, submit this
|
||||
// ticcmd for the next tic, giving us 1 tic of "buffer".
|
||||
// Remember, if we submitted 2 ticcmds too fast, the next one will probably be too slow!
|
||||
if ((!!(netcmds[maketic % BACKUPTICS][netconsole].flags & TICCMD_RECEIVED))
|
||||
&& (maketic - firstticstosend < BACKUPTICS))
|
||||
if ((!!(netcmds[faketic % BACKUPTICS][netconsole].flags & TICCMD_RECEIVED))
|
||||
&& (faketic - firstticstosend < BACKUPTICS))
|
||||
faketic++;
|
||||
|
||||
FuzzTiccmd(&netbuffer->u.clientpak.cmd);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue