mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
Fix WritableDate to correct version (at least I hope so), fixes #446
This commit is contained in:
parent
d0d8c9a081
commit
4f4788c1c3
@ -1472,7 +1472,6 @@ void Game::setProtocolVersion(int version)
|
||||
{
|
||||
enableFeature(Otc::GameLooktypeU16);
|
||||
enableFeature(Otc::GameMessageStatements);
|
||||
enableFeature(Otc::GameWritableDate);
|
||||
}
|
||||
|
||||
if(version >= 780)
|
||||
@ -1485,6 +1484,10 @@ void Game::setProtocolVersion(int version)
|
||||
enableFeature(Otc::GameNewOutfitProtocol);
|
||||
}
|
||||
|
||||
if(version >= 790) {
|
||||
enableFeature(Otc::GameWritableDate);
|
||||
}
|
||||
|
||||
if(version >= 780 && version <= 854) { // 780 might not be accurate
|
||||
enableFeature(Otc::GameChargeableItems);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user