mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 14:43:27 +02:00
Added keypad, fixed one crash bug and few more features for mobile version
This commit is contained in:
@@ -379,6 +379,9 @@ function walk(dir, ticks)
|
||||
player:lockWalk(100) -- bug fix for missing stairs down on map
|
||||
return
|
||||
else
|
||||
if g_app.isMobile() and dir <= Directions.West then
|
||||
turn(dir, ticks > 0)
|
||||
end
|
||||
return -- not walkable tile
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user