just drop the connection instead of I_error if connection gets lost
partial port from srb2classic
This commit is contained in:
1 parent
0e05dca3d5
commit
168a2c9684
1 file changed
+4
-1
+4
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user