Protocol 10.73 support

This commit is contained in:
TheSumm 2015-01-20 11:07:38 +01:00
parent fc76ca4523
commit 8542f8bfd4
2 changed files with 4 additions and 3 deletions

View File

@ -74,7 +74,8 @@ function g_game.getSupportedClients()
1040, 1041, 1050, 1051, 1052,
1053, 1054, 1055, 1056, 1057,
1058, 1059, 1060, 1061, 1062,
1063, 1064, 1070, 1071, 1072
1063, 1064, 1070, 1071, 1072,
1073
}
end

View File

@ -1456,7 +1456,7 @@ void Game::setProtocolVersion(int version)
if(isOnline())
stdext::throw_exception("Unable to change protocol version while online");
if(version != 0 && (version < 740 || version > 1072))
if(version != 0 && (version < 740 || version > 1073))
stdext::throw_exception(stdext::format("Protocol version %d not supported", version));
m_protocolVersion = version;
@ -1474,7 +1474,7 @@ void Game::setClientVersion(int version)
if(isOnline())
stdext::throw_exception("Unable to change client version while online");
if(version != 0 && (version < 740 || version > 1072))
if(version != 0 && (version < 740 || version > 1073))
stdext::throw_exception(stdext::format("Client version %d not supported", version));
m_features.reset();