diff options
author | Bertram <bertram@cegetel.net> | 2009-10-21 23:55:59 +0200 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2009-10-21 23:55:59 +0200 |
commit | c36ab53b35e336e21fce5943d7d609ea02f8cea9 (patch) | |
tree | c1daf14c379704f0591bddd56c6208585a778ce9 /src/net/tmwserv/playerhandler.cpp | |
parent | f5f351c570708f4ca923eeecee483874e673a277 (diff) | |
download | mana-c36ab53b35e336e21fce5943d7d609ea02f8cea9.tar.gz mana-c36ab53b35e336e21fce5943d7d609ea02f8cea9.tar.bz2 mana-c36ab53b35e336e21fce5943d7d609ea02f8cea9.tar.xz mana-c36ab53b35e336e21fce5943d7d609ea02f8cea9.zip |
Commencing the keyboard walking fine-tune.
Also, fixed sit to stand action change.
Diffstat (limited to 'src/net/tmwserv/playerhandler.cpp')
-rw-r--r-- | src/net/tmwserv/playerhandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/tmwserv/playerhandler.cpp b/src/net/tmwserv/playerhandler.cpp index ce1990ed..bbb5a203 100644 --- a/src/net/tmwserv/playerhandler.cpp +++ b/src/net/tmwserv/playerhandler.cpp @@ -381,8 +381,7 @@ void PlayerHandler::setDestination(int x, int y, int /* direction */) void PlayerHandler::changeAction(Being::Action action) { - if (action == Being::SIT) - player_node->setAction(action); + player_node->setAction(action); MessageOut msg(PGMSG_ACTION_CHANGE); msg.writeInt8(action); |