mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
simplistic autowalk
* add simple and stupid autowalk algorithm * fix issue in classic control
This commit is contained in:
@@ -211,7 +211,7 @@ function GameInterface.processMouseAction(menuPosition, mouseButton, autoWalk, l
|
||||
return true
|
||||
end
|
||||
|
||||
if not Options['classicControl'] then
|
||||
if not Options.getOption('classicControl') then
|
||||
if keyboardModifiers == KeyboardNoModifier and mouseButton == MouseRightButton then
|
||||
GameInterface.createThingMenu(menuPosition, lookThing, useThing, creatureThing)
|
||||
return true
|
||||
|
Reference in New Issue
Block a user