mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Merge branch 'faketic-fix' into 'next'
Fix minor off-by-one error in faketic calculation See merge request STJr/SRB2!2077
This commit is contained in:
commit
8630dd1644
1 changed files with 1 additions and 1 deletions
|
@ -4584,7 +4584,7 @@ static void HandlePacketFromPlayer(SINT8 node)
|
|||
// If we've alredy received a ticcmd for this tic, just submit it for the next one.
|
||||
tic_t faketic = maketic;
|
||||
if ((!!(netcmds[maketic % BACKUPTICS][netconsole].angleturn & TICCMD_RECEIVED))
|
||||
&& (maketic - firstticstosend < BACKUPTICS))
|
||||
&& (maketic - firstticstosend < BACKUPTICS - 1))
|
||||
faketic++;
|
||||
|
||||
// Copy ticcmd
|
||||
|
|
Loading…
Reference in a new issue