mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
Initial 10.90 support
Basic support, I did not check for further protocol changes yet.
This commit is contained in:
@@ -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 > 1082))
|
||||
if(version != 0 && (version < 740 || version > 1090))
|
||||
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 > 1082))
|
||||
if(version != 0 && (version < 740 || version > 1090))
|
||||
stdext::throw_exception(stdext::format("Client version %d not supported", version));
|
||||
|
||||
m_features.reset();
|
||||
|
Reference in New Issue
Block a user