summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-27 19:21:37 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-27 19:21:37 +0300
commit7b2fbfb1f4384cb0e86d4c7cca81a526444d54b8 (patch)
tree40cf0cab5c0549506555f53422d67ff4f2b868ee /src/commands.cpp
parent7112c6d75657791aab52a5e1e2f7aec9a0b2519d (diff)
downloadmanaplus-7b2fbfb1f4384cb0e86d4c7cca81a526444d54b8.tar.gz
manaplus-7b2fbfb1f4384cb0e86d4c7cca81a526444d54b8.tar.bz2
manaplus-7b2fbfb1f4384cb0e86d4c7cca81a526444d54b8.tar.xz
manaplus-7b2fbfb1f4384cb0e86d4c7cca81a526444d54b8.zip
add pet emote command.
New chat command: /emotepet emote
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 8b25984b5..b79ba8b9f 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -62,6 +62,7 @@
#include "net/guildhandler.h"
#include "net/net.h"
#include "net/partyhandler.h"
+#include "net/pethandler.h"
#include "net/tradehandler.h"
#ifdef DEBUG_DUMP_LEAKS1
@@ -723,6 +724,11 @@ impHandler1(emote)
player_node->emote(static_cast<uint8_t>(atoi(args.c_str())));
}
+impHandler1(emotePet)
+{
+ Net::getPetHandler()->emote(static_cast<uint8_t>(atoi(args.c_str())));
+}
+
impHandler1(away)
{
if (player_node)