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

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@3825 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1658648d
No related branches found
No related tags found
No related merge requests found
......@@ -1324,6 +1324,7 @@ function _M:setupMouse(reset)
end)
-- Use hotkeys with mouse
self.mouse:registerZone(self.hotkeys_display.display_x, self.hotkeys_display.display_y, self.w, self.h, function(button, mx, my, xrel, yrel, bx, by, event)
if self.show_npc_list then return end
if event == "button" and button == "left" and self.zone and self.zone.wilderness then return end
self.hotkeys_display:onMouse(button, mx, my, event == "button",
function(text)
......
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