From 468ac9cbd2dac4e22c53f53b1d28db88fd3f0dff Mon Sep 17 00:00:00 2001 From: djayk1 Date: Mon, 23 Jun 2014 11:38:15 -0300 Subject: [PATCH] Update game.cpp --- 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 17a813d7..45fa3793 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 > 1037)) + if(version != 0 && (version < 760 || version > 1041)) stdext::throw_exception(stdext::format("Protocol version %d not supported", version)); m_features.reset(); @@ -1587,7 +1587,7 @@ void Game::setClientVersion(int version) if(isOnline()) stdext::throw_exception("Unable to change client version while online"); - if(version != 0 && (version < 760 || version > 1037)) + if(version != 0 && (version < 760 || version > 1041)) stdext::throw_exception(stdext::format("Client version %d not supported", version)); m_clientVersion = version;