Fix WritableDate to correct version (at least I hope so), fixes #446

This commit is contained in:
Sam 2014-01-21 23:13:07 +01:00
parent d0d8c9a081
commit 4f4788c1c3
1 changed files with 4 additions and 1 deletions

View File

@ -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);
}