forked from mirror/OpenTTD
(svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.
This commit is contained in:
@@ -38,7 +38,7 @@ public:
|
||||
|
||||
virtual NetworkRecvStatus CloseConnection(bool error = true);
|
||||
void Send_Packet(Packet *packet);
|
||||
bool Send_Packets();
|
||||
bool Send_Packets(bool closing_down = false);
|
||||
bool IsPacketQueueEmpty();
|
||||
|
||||
Packet *Recv_Packet();
|
||||
|
Reference in New Issue
Block a user