forked from mirror/openmw-tes3mp
[Client] Display error when receiving ID_INCOMPATIBLE_PROTOCOL_VERSION
This commit is contained in:
parent
29be79e852
commit
5b461b09ca
1 changed files with 7 additions and 0 deletions
|
@ -305,6 +305,13 @@ void Networking::connect(const std::string &ip, unsigned short port, std::vector
|
|||
queue = false;
|
||||
break;
|
||||
}
|
||||
case ID_INCOMPATIBLE_PROTOCOL_VERSION:
|
||||
{
|
||||
errmsg = "Network protocol mismatch!\nMake sure your client is really on the same version\n"
|
||||
"as the server you are trying to connect to.";
|
||||
queue = false;
|
||||
break;
|
||||
}
|
||||
case ID_CONNECTION_REQUEST_ACCEPTED:
|
||||
{
|
||||
serverAddr = packet->systemAddress;
|
||||
|
|
Loading…
Reference in a new issue