summaryrefslogtreecommitdiff
path: root/src/net/tmwa/pethandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-22 15:43:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-22 15:43:42 +0300
commitc8c04113ea360bdf542393001e45eb1ea9f317d1 (patch)
treea77df61da3e3fdc1b4e66b292f5545cdd92dd224 /src/net/tmwa/pethandler.cpp
parent752c00b3e14478ebfc243938ed0bfd3af0a05f58 (diff)
downloadplus-c8c04113ea360bdf542393001e45eb1ea9f317d1.tar.gz
plus-c8c04113ea360bdf542393001e45eb1ea9f317d1.tar.bz2
plus-c8c04113ea360bdf542393001e45eb1ea9f317d1.tar.xz
plus-c8c04113ea360bdf542393001e45eb1ea9f317d1.zip
eathena: add packet CMSG_PET_DIRECTION 0x0b12.
Diffstat (limited to 'src/net/tmwa/pethandler.cpp')
-rw-r--r--src/net/tmwa/pethandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp
index cd4cbfa4d..f759fdb0d 100644
--- a/src/net/tmwa/pethandler.cpp
+++ b/src/net/tmwa/pethandler.cpp
@@ -107,7 +107,7 @@ void PetHandler::unequip() const
{
}
-void PetHandler::setDirection(const BeingDirection::Type type) const
+void PetHandler::setDirection(const unsigned char type) const
{
chatHandler->talk(strprintf("\302\202\302d%dg%d",
static_cast<int>(type), tick_time), GENERAL_CHANNEL);