Adding 10.31 to version list

This commit is contained in:
Sam 2014-01-01 15:47:51 +01:00
parent 2556bfcbf2
commit 6db2458c1d
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ function g_game.getSupportedClients()
940, 944, 953, 954, 960, 961, 963, 940, 944, 953, 954, 960, 961, 963,
970, 980, 981, 982, 983, 984, 985, 970, 980, 981, 982, 983, 984, 985,
986, 1001, 1002, 1010, 1020, 1021, 986, 1001, 1002, 1010, 1020, 1021,
1022 1022, 1031
} }
end end

View File

@ -1445,7 +1445,7 @@ void Game::setProtocolVersion(int version)
if(isOnline()) if(isOnline())
stdext::throw_exception("Unable to change protocol version while online"); stdext::throw_exception("Unable to change protocol version while online");
if(version != 0 && (version < 760 || version > 1022)) if(version != 0 && (version < 760 || version > 1031))
stdext::throw_exception(stdext::format("Protocol version %d not supported", version)); stdext::throw_exception(stdext::format("Protocol version %d not supported", version));
m_features.reset(); m_features.reset();
@ -1553,7 +1553,7 @@ void Game::setClientVersion(int version)
if(isOnline()) if(isOnline())
stdext::throw_exception("Unable to change client version while online"); stdext::throw_exception("Unable to change client version while online");
if(version != 0 && (version < 760 || version > 1022)) if(version != 0 && (version < 760 || version > 1031))
stdext::throw_exception(stdext::format("Client version %d not supported", version)); stdext::throw_exception(stdext::format("Client version %d not supported", version));
m_clientVersion = version; m_clientVersion = version;