Fix minor off-by-one error in faketic calculation
This commit is contained in:
parent
68ddb7e06b
commit
f41bb9f776
1 changed files with 1 additions and 1 deletions
|
|
@ -4678,7 +4678,7 @@ static void HandlePacketFromPlayer(SINT8 node)
|
|||
tic_t faketic = maketic;
|
||||
|
||||
if ((!!(netcmds[maketic % BACKUPTICS][netconsole].flags & TICCMD_RECEIVED))
|
||||
&& (maketic - firstticstosend < BACKUPTICS))
|
||||
&& (maketic - firstticstosend < BACKUPTICS - 1))
|
||||
faketic++;
|
||||
|
||||
// Copy ticcmd
|
||||
|
|
|
|||
Loading…
Reference in a new issue