mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix holes in ticcmd pacing (wantdelay bug)
This commit is contained in:
parent
1da803c736
commit
0be8566b70
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