10.96, 10.97, 10.98, 10.99 support

Adds basic support for the latest client version
This commit is contained in:
Joseph Bingham
2016-11-07 23:52:42 -05:00
parent a6a50fa162
commit 344146ba2d
6 changed files with 65 additions and 12 deletions

View File

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