Skip to content
Snippets Groups Projects
Commit 66ee18fe authored by dg's avatar dg
Browse files

Fixed clicking on talents on the worldmap in Classic UI mode

git-svn-id: http://svn.net-core.org/repos/t-engine4@5787 51575b47-30f0-44d4-a5cc-537603b46e54
parent 9f052ed6
No related branches found
No related tags found
No related merge requests found
......@@ -366,7 +366,7 @@ function _M:setupMouse(mouse)
mouse:registerZone(self.hotkeys_display.display_x, self.hotkeys_display.display_y, game.w, game.h, function(button, mx, my, xrel, yrel, bx, by, event)
if self.show_npc_list then return end
if event == "out" then self.hotkeys_display.cur_sel = nil return end
if event == "button" and button == "left" and ((self.zone and self.zone.wilderness) or (game.key ~= game.normal_key)) then return end
if event == "button" and button == "left" and ((game.zone and game.zone.wilderness) or (game.key ~= game.normal_key)) then return end
self.hotkeys_display:onMouse(button, mx, my, event == "button",
function(text)
text = text:toTString()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment