summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-16 19:04:58 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-16 19:04:58 +0000
commit35afca876ece89be5b282c73a200d0d3c5d27fe0 (patch)
tree90033c7dfd025ab0d90304bfc5440c9aaa3bbcc5 /src/game.cpp
parent201a9a7d4fdf1ff7cb8ffc75d606bfaf6d38a0f6 (diff)
downloadmana-client-35afca876ece89be5b282c73a200d0d3c5d27fe0.tar.gz
mana-client-35afca876ece89be5b282c73a200d0d3c5d27fe0.tar.bz2
mana-client-35afca876ece89be5b282c73a200d0d3c5d27fe0.tar.xz
mana-client-35afca876ece89be5b282c73a200d0d3c5d27fe0.zip
Fixed connection dialog visibility and fixed issues with walking one tile too
many and changing direction towards an obstacle.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 97427860..a424320e 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -656,7 +656,7 @@ void Game::handleInput()
direction |= Being::RIGHT;
}
- player_node->walk(direction);
+ player_node->setWalkingDir(direction);
// Attacking monsters
if (keys[SDLK_LCTRL] || keys[SDLK_RCTRL] ||