Fix: [Network] don't show "server doesn't respond" while in queue

Send all clients in the queue every game-day a packet that they
are still in the queue.
This commit is contained in:
Patric Stout
2021-02-27 10:54:16 +01:00
committed by Patric Stout
parent 8d199b1bbc
commit 13889b6554
2 changed files with 16 additions and 6 deletions

View File

@@ -43,7 +43,6 @@ protected:
NetworkRecvStatus SendCompanyInfo();
NetworkRecvStatus SendNewGRFCheck();
NetworkRecvStatus SendWelcome();
NetworkRecvStatus SendWait();
NetworkRecvStatus SendNeedGamePassword();
NetworkRecvStatus SendNeedCompanyPassword();
@@ -82,6 +81,7 @@ public:
void CheckNextClientToSendMap(NetworkClientSocket *ignore_cs = nullptr);
NetworkRecvStatus SendWait();
NetworkRecvStatus SendMap();
NetworkRecvStatus SendErrorQuit(ClientID client_id, NetworkErrorCode errorno);
NetworkRecvStatus SendQuit(ClientID client_id);