Fixes to mounting, outfit randomizing, and added creature getSpeed to the lua binding.

This commit is contained in:
BeniS
2012-07-16 11:08:27 +12:00
parent f47a947bf3
commit 92e3c2cbd6
4 changed files with 5 additions and 6 deletions

View File

@@ -11,11 +11,7 @@ function PlayerMount.terminate()
end
function PlayerMount.toggleMount()
if g_game.isMounted() then
g_game.mount(false)
else
g_game.mount(true)
end
g_game.mount(not g_game.isMounted())
end
function PlayerMount.dismount()