More work towards autowalking (needs more work).

* Added tile minimap color override.
* Changed zoom in and out of minimap from inverted control.
This commit is contained in:
BeniS
2013-01-23 01:01:30 +13:00
parent f470cba09e
commit 01e48fbcc8
8 changed files with 39 additions and 77 deletions

View File

@@ -539,7 +539,7 @@ function processMouseAction(menuPosition, mouseButton, autoWalkPos, lookThing, u
end
local player = g_game.getLocalPlayer()
player:stopAutoWalkUpdate()
player:stopAutoWalk()
if autoWalkPos and keyboardModifiers == KeyboardNoModifier and mouseButton == MouseLeftButton then
if not player:autoWalk(autoWalkPos) then