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::GameLooktypeU16);
|
||||||
enableFeature(Otc::GameMessageStatements);
|
enableFeature(Otc::GameMessageStatements);
|
||||||
enableFeature(Otc::GameWritableDate);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(version >= 780)
|
if(version >= 780)
|
||||||
|
@ -1485,6 +1484,10 @@ void Game::setProtocolVersion(int version)
|
||||||
enableFeature(Otc::GameNewOutfitProtocol);
|
enableFeature(Otc::GameNewOutfitProtocol);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(version >= 790) {
|
||||||
|
enableFeature(Otc::GameWritableDate);
|
||||||
|
}
|
||||||
|
|
||||||
if(version >= 780 && version <= 854) { // 780 might not be accurate
|
if(version >= 780 && version <= 854) { // 780 might not be accurate
|
||||||
enableFeature(Otc::GameChargeableItems);
|
enableFeature(Otc::GameChargeableItems);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue