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

Left mouse drag does not move

git-svn-id: http://svn.net-core.org/repos/t-engine4@883 51575b47-30f0-44d4-a5cc-537603b46e54
parent 59f0b069
No related branches found
No related tags found
No related merge requests found
......@@ -834,7 +834,7 @@ function _M:setupMouse()
end
-- Move
if button == "left" and not core.key.modState("shift") and not moving_around then
if button == "left" and not core.key.modState("shift") and not moving_around and not xrel and not yrel then
if self.key == self.normal_key then self.player:mouseMove(tmx, tmy) end
-- Move map around
......
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