Improve encrypt/decrypt algorithms

This commit is contained in:
Eduardo Bart
2013-01-29 11:50:24 -02:00
parent f492d291eb
commit 4751941e4f
5 changed files with 35 additions and 23 deletions

View File

@@ -387,7 +387,7 @@ end
function minimapAutoWalk(pos)
local player = g_game.getLocalPlayer()
if not player:autoWalk(pos) then
modules.game_textmessage.displayStatusMessage(tr('There is no way.'))
player.onAutoWalkFail = function() modules.game_textmessage.displayFailureMessage(tr('There is no way.')) end
return false
else
return true