mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-07 18:42:36 +00:00
Fixed first consistency check
This commit is contained in:
parent
a7fd3852e2
commit
a07a6e7922
1 changed files with 1 additions and 2 deletions
|
@ -942,6 +942,7 @@ static void CheckConsistencies()
|
|||
const int limit = min<int>(CurrentConsistency - 1, clientState.CurrentNetConsistency);
|
||||
while (clientState.LastVerifiedConsistency < limit)
|
||||
{
|
||||
++clientState.LastVerifiedConsistency;
|
||||
const int tic = clientState.LastVerifiedConsistency % BACKUPTICS;
|
||||
if (clientState.LocalConsistency[tic] != clientState.NetConsistency[tic])
|
||||
{
|
||||
|
@ -949,8 +950,6 @@ static void CheckConsistencies()
|
|||
clientState.LastVerifiedConsistency = clientState.CurrentNetConsistency;
|
||||
break;
|
||||
}
|
||||
|
||||
++clientState.LastVerifiedConsistency;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue