mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Fix minor off-by-one error in faketic calculation
This commit is contained in:
parent
205ab612f7
commit
70ec89682e
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