shithub: choc

Download patch

ref: 5082a2f1b43736e24e9927c16268788506b3b25b
parent: 52c05f4028fb90d8928ea4a4a2bf9ea261ec157c
parent: 8aa4ed6c01c19b934e64d012ac304eaf1a777607
author: Michael Francis <mikefrancis95@gmail.com>
date: Tue Jan 4 15:42:36 EST 2022

Merge pull request #1423 from chocolate-doom/mfrancis95-patch-1

Fix bug in net_server.c where a player's receive window was not being…

--- a/src/net_server.c
+++ b/src/net_server.c
@@ -1712,7 +1712,7 @@
 
         for (i=0; i<BACKUPTICS; ++i)
         {
-            if (!recvwindow[client->player_number][i].active)
+            if (!recvwindow[i][client->player_number].active)
             {
                 NET_Log("server: deadlock: sending resend request for %d-%d",
                         recvwindow_start + i, recvwindow_start + i + 5);