summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/pethandler.cpp2
-rw-r--r--src/net/tmwa/pethandler.h3
2 files changed, 2 insertions, 3 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);
diff --git a/src/net/tmwa/pethandler.h b/src/net/tmwa/pethandler.h
index 3237bf67f..3a744180a 100644
--- a/src/net/tmwa/pethandler.h
+++ b/src/net/tmwa/pethandler.h
@@ -63,8 +63,7 @@ class PetHandler final : public MessageHandler, public Net::PetHandler
void unequip() const override final;
- void setDirection(const BeingDirection::Type type) const
- override final;
+ void setDirection(const unsigned char type) const override final;
void startAi(const bool start) const override final;