just drop the connection instead of I_error if connection gets lost

partial port from srb2classic
This commit is contained in:
Alug committed 2025-08-25 15:40:50 +02:00
1 parent 0e05dca3d5
commit 168a2c9684
1 file changed
+4 -1
+4 -1
View File
@@ -262,7 +262,10 @@ static boolean GetFreeAcknum(UINT8 *freeack)
CONS_Debug(DBG_NETPLAY, "No more free ackpacket\n");
#endif
if (netbuffer->packettype < PT_CANFAIL)
I_Error("Connection lost\n");
{
CONS_Alert(CONS_WARNING, "Connection from %s is not acknowledging packets, killing connection\n", I_GetNodeAddress(doomcom->remotenode));
Net_CloseConnection(doomcom->remotenode | FORCECLOSE);
}
return false;
}