mirror of
https://github.com/edubart/otclient.git
synced 2025-12-22 16:27:10 +01:00
Fix for version 8.40
This commit is contained in:
@@ -1472,7 +1472,7 @@ void Game::setProtocolVersion(int version)
|
||||
{
|
||||
enableFeature(Otc::GameLooktypeU16);
|
||||
enableFeature(Otc::GameMessageStatements);
|
||||
enableFeature(Otc::GameWritableDate); // might not be since 770
|
||||
enableFeature(Otc::GameWritableDate);
|
||||
}
|
||||
|
||||
if(version >= 780)
|
||||
@@ -1485,15 +1485,18 @@ void Game::setProtocolVersion(int version)
|
||||
enableFeature(Otc::GameNewOutfitProtocol);
|
||||
}
|
||||
|
||||
if(version >= 780 && version <= 854) { // 780 might not be accurate
|
||||
enableFeature(Otc::GameChargeableItems);
|
||||
}
|
||||
|
||||
if(version >= 840) {
|
||||
enableFeature(Otc::GameProtocolChecksum);
|
||||
enableFeature(Otc::GameChallengeOnLogin);
|
||||
enableFeature(Otc::GameAccountNames);
|
||||
enableFeature(Otc::GameDoubleFreeCapacity);
|
||||
}
|
||||
|
||||
if(version >= 780 && version <= 854) { // 780 might not be accurate
|
||||
enableFeature(Otc::GameChargeableItems);
|
||||
if(version >= 841) {
|
||||
enableFeature(Otc::GameChallengeOnLogin);
|
||||
}
|
||||
|
||||
if(version >= 854) {
|
||||
|
||||
Reference in New Issue
Block a user