Fixed issue #160 and an issue with entergame module.

This commit is contained in:
BeniS
2013-01-01 05:34:15 +13:00
parent 8cdab5c814
commit 644241badb
3 changed files with 14 additions and 9 deletions

View File

@@ -185,7 +185,7 @@ function smartWalk(defaultDir)
local rebindKey = false
local lastKey = arrowKeys[lastWalkDir]
-- choose a new direction
-- choose the new direction
if not g_keyboard.isKeyPressed(arrowKeys[defaultDir]) then
local changeDir = false
for k,v in pairs(arrowKeys) do