Fix for Client 8.5
This commit is contained in:
parent
1b27a095a9
commit
4adfafc67e
|
@ -1442,8 +1442,11 @@ void Game::setProtocolVersion(int version)
|
|||
enableFeature(Otc::GameChargeableItems);
|
||||
}
|
||||
|
||||
if(version >= 854) {
|
||||
if(version >= 850) {
|
||||
enableFeature(Otc::GameDoubleFreeCapacity);
|
||||
}
|
||||
|
||||
if(version >= 854) {
|
||||
enableFeature(Otc::GameCreatureEmblems);
|
||||
}
|
||||
|
||||
|
|
|
@ -273,8 +273,8 @@ void Map::saveOtbm(const std::string& fileName)
|
|||
root->addU32(version);
|
||||
|
||||
Size mapSize = getSize();
|
||||
root->addU16(mapSize.width());
|
||||
root->addU16(mapSize.height());
|
||||
root->addU16(65535);
|
||||
root->addU16(65535);
|
||||
|
||||
root->addU32(g_things.getOtbMajorVersion());
|
||||
root->addU32(g_things.getOtbMinorVersion());
|
||||
|
|
Loading…
Reference in New Issue