From b6d8ede8542e0d8bb5b0f474c0ca11e972da9e45 Mon Sep 17 00:00:00 2001 From: Faith2531 Date: Mon, 3 Mar 2014 11:50:47 +0100 Subject: [PATCH] Update game.cpp changed max supported protocol to 10.35 --- src/client/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/game.cpp b/src/client/game.cpp index 26701ddb..8a926d7e 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1459,7 +1459,7 @@ void Game::setProtocolVersion(int version) if(isOnline()) stdext::throw_exception("Unable to change protocol version while online"); - if(version != 0 && (version < 760 || version > 1031)) + if(version != 0 && (version < 760 || version > 1035)) stdext::throw_exception(stdext::format("Protocol version %d not supported", version)); m_features.reset(); @@ -1581,7 +1581,7 @@ void Game::setClientVersion(int version) if(isOnline()) stdext::throw_exception("Unable to change client version while online"); - if(version != 0 && (version < 760 || version > 1031)) + if(version != 0 && (version < 760 || version > 1035)) stdext::throw_exception(stdext::format("Client version %d not supported", version)); m_clientVersion = version;