From e8bc0d9fd1be148f111f2c560e563e0552fc9f50 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Mar 2011 04:35:05 +0200 Subject: 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. --- src/net/tmwa/beinghandler.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/net/tmwa/beinghandler.h') 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; -- cgit v1.2.3-70-g09d2