mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
support for protocol 961
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user