summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-10-04 21:02:59 -0400
committerChuck Miller <shadowmil@gmail.com>2010-10-04 21:17:08 -0400
commit89f192b9039f9c000515f0a12f4bb9fb55c4691c (patch)
tree5d5ae12f7e77921a80082abdf3ec6acc705192c7 /src/game.cpp
parent6f25f5d9390ae247970ad886dc51d55435285831 (diff)
downloadmana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.gz
mana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.bz2
mana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.xz
mana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.zip
Remove the following system
The implamentation is poor, and this is something that would be better handled by the addon engine later down the road. Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp
index b50d0629..5557f650 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -783,26 +783,22 @@ void Game::handleInput()
(joystick && joystick->isUp()))
{
direction |= Being::UP;
- player_node->cancelFollow();
}
else if (keyboard.isKeyActive(keyboard.KEY_MOVE_DOWN) ||
(joystick && joystick->isDown()))
{
direction |= Being::DOWN;
- player_node->cancelFollow();
}
if (keyboard.isKeyActive(keyboard.KEY_MOVE_LEFT) ||
(joystick && joystick->isLeft()))
{
direction |= Being::LEFT;
- player_node->cancelFollow();
}
else if (keyboard.isKeyActive(keyboard.KEY_MOVE_RIGHT) ||
(joystick && joystick->isRight()))
{
direction |= Being::RIGHT;
- player_node->cancelFollow();
}
if (keyboard.isKeyActive(keyboard.KEY_EMOTE) && direction != 0)