mirror of
https://github.com/edubart/otclient.git
synced 2025-12-22 16:27:10 +01:00
Support for newer versions and light draw fix
Avoid drawing light under covered tiles.
This commit is contained in:
@@ -1562,6 +1562,10 @@ void Game::setProtocolVersion(int version)
|
||||
enableFeature(Otc::GamePVPMode);
|
||||
}
|
||||
|
||||
if (version >= 1035) {
|
||||
enableFeature(Otc::GameDoubleSkills);
|
||||
enableFeature(Otc::GameBaseSkillU16);
|
||||
}
|
||||
m_protocolVersion = version;
|
||||
|
||||
Proto::buildMessageModesMap(version);
|
||||
|
||||
Reference in New Issue
Block a user