mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
Started 1050 implementation and fix ups:
* Dat now loads (new animations aren't yet functional). * Fixed the way we reference client versions. TODO: Write new animation functionality & find out protocol changes.
This commit is contained in:
@@ -83,7 +83,7 @@ function online()
|
||||
end
|
||||
|
||||
-- Vocation is only send in newer clients
|
||||
if g_game.getProtocolVersion() >= 950 then
|
||||
if g_game.getClientVersion() >= 950 then
|
||||
spelllistWindow:getChildById('buttonFilterVocation'):setVisible(true)
|
||||
else
|
||||
spelllistWindow:getChildById('buttonFilterVocation'):setVisible(false)
|
||||
|
Reference in New Issue
Block a user