From a07a6e7922011f42ce27d58e382957aef9d33f05 Mon Sep 17 00:00:00 2001 From: Boondorl Date: Wed, 12 Mar 2025 07:18:38 -0400 Subject: [PATCH] Fixed first consistency check --- src/d_net.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/d_net.cpp b/src/d_net.cpp index dfcc8551b..26502d9a9 100644 --- a/src/d_net.cpp +++ b/src/d_net.cpp @@ -942,6 +942,7 @@ static void CheckConsistencies() const int limit = min(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; } } }