From 6db2458c1d7b8fa4fac04a4cabeb217418261f40 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 1 Jan 2014 15:47:51 +0100 Subject: [PATCH] Adding 10.31 to version list --- modules/gamelib/game.lua | 2 +- src/client/game.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/gamelib/game.lua b/modules/gamelib/game.lua index 0ca13e92..4a7ce40c 100644 --- a/modules/gamelib/game.lua +++ b/modules/gamelib/game.lua @@ -54,7 +54,7 @@ function g_game.getSupportedClients() 940, 944, 953, 954, 960, 961, 963, 970, 980, 981, 982, 983, 984, 985, 986, 1001, 1002, 1010, 1020, 1021, - 1022 + 1022, 1031 } end diff --git a/src/client/game.cpp b/src/client/game.cpp index 7081032e..59c405e3 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1445,7 +1445,7 @@ void Game::setProtocolVersion(int version) if(isOnline()) 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)); m_features.reset(); @@ -1553,7 +1553,7 @@ void Game::setClientVersion(int version) if(isOnline()) 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)); m_clientVersion = version;