Fixes for creatures name

fixes on save houses (Now open most generate some error)
First 10.22 commit (open dat to edit)
Add server id for new versions
This commit is contained in:
BrunoDCC
2013-11-09 20:04:48 -02:00
parent 6f9436dd60
commit c81a623c43
7 changed files with 51 additions and 17 deletions

View File

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