diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-28 19:36:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-28 19:36:50 +0300 |
commit | a5e3d86efb85bb2a65e160972cc56e89cd764453 (patch) | |
tree | f385447603a24a3898b493ce131b4edf8abd86ab /src/net/eathena | |
parent | 8bfdc250ae7c5ab852653b3aa2da7f3781c7c56e (diff) | |
download | manaverse-a5e3d86efb85bb2a65e160972cc56e89cd764453.tar.gz manaverse-a5e3d86efb85bb2a65e160972cc56e89cd764453.tar.bz2 manaverse-a5e3d86efb85bb2a65e160972cc56e89cd764453.tar.xz manaverse-a5e3d86efb85bb2a65e160972cc56e89cd764453.zip |
Add chat command for stop and start pet ai.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/pethandler.cpp | 4 | ||||
-rw-r--r-- | src/net/eathena/pethandler.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index b18cc83d0..c2e4d2b32 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -323,4 +323,8 @@ void PetHandler::setDirection(const BeingDirection::Type type A_UNUSED) const { } +void PetHandler::startAi(const bool start A_UNUSED) const +{ +} + } // namespace EAthena diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h index b397d98d4..687884251 100644 --- a/src/net/eathena/pethandler.h +++ b/src/net/eathena/pethandler.h @@ -68,6 +68,8 @@ class PetHandler final : public MessageHandler, public Net::PetHandler void setDirection(const BeingDirection::Type type) const override final; + void startAi(const bool start) const override final; + protected: static void processPetRoulette(Net::MessageIn &msg); |