mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
Fix for Client 8.5
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user