support for protocol 961

This commit is contained in:
Eduardo Bart 2012-08-10 01:01:12 -03:00
parent 608b8f8b44
commit 24b60bec2e
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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();

View File

@ -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 {