diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 17:09:20 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 17:09:20 -0600 |
commit | 8f4d75cadd75e71daf5689a2d289bd2e0deea533 (patch) | |
tree | d9decc6491292f516263b091edb476e0d2140cdc /src/net/ea/playerhandler.cpp | |
parent | 82f9e929429f5c8ff2612ae679fc0c620231f70d (diff) | |
download | mana-8f4d75cadd75e71daf5689a2d289bd2e0deea533.tar.gz mana-8f4d75cadd75e71daf5689a2d289bd2e0deea533.tar.bz2 mana-8f4d75cadd75e71daf5689a2d289bd2e0deea533.tar.xz mana-8f4d75cadd75e71daf5689a2d289bd2e0deea533.zip |
Add support for changing direction under eAthena
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index 8c9b6f5e..3b8b86af 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -491,7 +491,9 @@ void PlayerHandler::pickUp(FloorItem *floorItem) void PlayerHandler::setDirection(char direction) { - // TODO + MessageOut outMsg(CMSG_PLAYER_CHANGE_DIR); + outMsg.writeInt16(0); + outMsg.writeInt8(direction); } void PlayerHandler::setDestination(int x, int y, int direction) |