diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-14 04:35:05 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-14 04:35:05 +0200 |
commit | e8bc0d9fd1be148f111f2c560e563e0552fc9f50 (patch) | |
tree | dd6e68087e2fbd166f54fe9fd4013223864b0612 /src/net/tmwa/beinghandler.h | |
parent | 81639ccbd66d225c86998d6127dd8c7ca2b5e745 (diff) | |
download | manaplus-e8bc0d9fd1be148f111f2c560e563e0552fc9f50.tar.gz manaplus-e8bc0d9fd1be148f111f2c560e563e0552fc9f50.tar.bz2 manaplus-e8bc0d9fd1be148f111f2c560e563e0552fc9f50.tar.xz manaplus-e8bc0d9fd1be148f111f2c560e563e0552fc9f50.zip |
Fixing direction bug in moving.
While player moving server dont send player direction.
This autofixing in nextTile method, but if this method was not
called, then player have incorrect direction.
Also move checking direction 8 from beinghandler.cpp
to messagein.cpp like was done in mana client.
Diffstat (limited to 'src/net/tmwa/beinghandler.h')
-rw-r--r-- | src/net/tmwa/beinghandler.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net/tmwa/beinghandler.h b/src/net/tmwa/beinghandler.h index ec3f79bdf..1484567fd 100644 --- a/src/net/tmwa/beinghandler.h +++ b/src/net/tmwa/beinghandler.h @@ -42,8 +42,6 @@ class BeingHandler : public MessageHandler, public Net::BeingHandler virtual void undress(Being *being); - Uint8 getDirection(Uint8 dir); - private: // Should we honor server "Stop Walking" packets bool mSync; |