Fix #235 and other changes

This commit is contained in:
Eduardo Bart
2013-01-26 18:40:03 -02:00
parent 2fd3c643c4
commit 4b1db2bcd6
7 changed files with 46 additions and 37 deletions

View File

@@ -80,10 +80,10 @@ function getIconImageClip(id)
end
function online()
if g_game.getProtocolVersion() < 870 then
spelllistButton:setVisible(false)
if g_game.getFeature(GameSpellList) then
spelllistButton:show()
else
spelllistButton:setVisible(true)
spelllistButton:hide()
end
if g_game.getProtocolVersion() >= 950 then -- Vocation is only send in newer clients
spelllistWindow:getChildById('buttonFilterVocation'):setVisible(true)