diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index c1ebcefca..49fc8cd77 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -1242,8 +1242,8 @@ void BeingHandler::processBeingChangeDirection(Net::MessageIn &msg) msg.readInt16("head direction"); - const uint8_t dir = static_cast<uint8_t>( - msg.readUInt8("player direction") & 0x0FU); + const uint8_t dir = Net::MessageIn::fromServerDirection( + static_cast<uint8_t>(msg.readUInt8("player direction") & 0x0FU)); if (!dstBeing) { |