mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
Fix #283 and more:
* Might have fixed death window issue but not confirmed * Stop hotkey window from display while offline * Moved some required features to >= 840 if statement (protocol 840/842 arent supported in otclient yet)
This commit is contained in:
@@ -1380,14 +1380,17 @@ void Game::setProtocolVersion(int version)
|
||||
m_features.reset();
|
||||
enableFeature(Otc::GameFormatCreatureName);
|
||||
|
||||
if(version >= 840) {
|
||||
enableFeature(Otc::GameProtocolChecksum);
|
||||
enableFeature(Otc::GameChallengeOnLogin);
|
||||
enableFeature(Otc::GameAccountNames);
|
||||
}
|
||||
|
||||
if(version <= 854) {
|
||||
enableFeature(Otc::GameChargeableItems);
|
||||
}
|
||||
|
||||
if(version >= 854) {
|
||||
enableFeature(Otc::GameProtocolChecksum);
|
||||
enableFeature(Otc::GameAccountNames);
|
||||
enableFeature(Otc::GameChallengeOnLogin);
|
||||
enableFeature(Otc::GameDoubleFreeCapacity);
|
||||
enableFeature(Otc::GameCreatureEmblems);
|
||||
}
|
||||
|
Reference in New Issue
Block a user