From 7a8e6057046342828c607da7f7b249860a3a476c Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 3 Mar 2016 08:44:09 +0100 Subject: [PATCH] Minimal 10.91 support --- 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 4d86fb9d..ccce4b33 100644 --- a/modules/gamelib/game.lua +++ b/modules/gamelib/game.lua @@ -74,7 +74,7 @@ function g_game.getSupportedClients() 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1080, - 1081, 1082, 1090 + 1081, 1082, 1090, 1091 } end diff --git a/src/client/game.cpp b/src/client/game.cpp index d4ac2517..201d4dcf 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -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 > 1090)) + if(version != 0 && (version < 740 || version > 1091)) 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 > 1090)) + if(version != 0 && (version < 740 || version > 1091)) stdext::throw_exception(stdext::format("Client version %d not supported", version)); m_features.reset();