summaryrefslogtreecommitdiff
path: root/src/net/tmwa/pethandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/pethandler.cpp')
-rw-r--r--src/net/tmwa/pethandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp
index 787b288b5..33bd2cb3c 100644
--- a/src/net/tmwa/pethandler.cpp
+++ b/src/net/tmwa/pethandler.cpp
@@ -113,4 +113,10 @@ void PetHandler::setDirection(const BeingDirection::Type type) const
static_cast<int>(type), tick_time), GENERAL_CHANNEL);
}
+void PetHandler::startAi(const bool start) const
+{
+ chatHandler->talk(strprintf("\302\202\302a%dg%d",
+ start ? 1 : 0, tick_time), GENERAL_CHANNEL);
+}
+
} // namespace TmwAthena