support for protocol 961
This commit is contained in:
parent
608b8f8b44
commit
24b60bec2e
|
@ -49,7 +49,7 @@ end
|
|||
function g_game.getSupportedProtocols()
|
||||
return {
|
||||
810, 853, 854, 860, 861, 862, 870, 940,
|
||||
953, 954, 960
|
||||
953, 954, 960, 961
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -1128,7 +1128,7 @@ void Game::setClientVersion(int version)
|
|||
if(isOnline())
|
||||
stdext::throw_exception("Unable to change client version while online");
|
||||
|
||||
if(version < 810 || version > 960)
|
||||
if(version < 810 || version > 961)
|
||||
stdext::throw_exception(stdext::format("Protocol version %d not supported", version));
|
||||
|
||||
m_features.reset();
|
||||
|
|
|
@ -126,7 +126,8 @@ enum clientVersion_t
|
|||
CLIENT_VERSION_952 = 37,
|
||||
CLIENT_VERSION_953 = 38,
|
||||
CLIENT_VERSION_954 = 39,
|
||||
CLIENT_VERSION_960 = 40
|
||||
CLIENT_VERSION_960 = 40,
|
||||
CLIENT_VERSION_961 = 41
|
||||
};
|
||||
|
||||
enum {
|
||||
|
|
Loading…
Reference in New Issue