From 7b2fbfb1f4384cb0e86d4c7cca81a526444d54b8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 27 Dec 2013 19:21:37 +0300 Subject: add pet emote command. New chat command: /emotepet emote --- src/commands.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/commands.cpp') 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(atoi(args.c_str()))); } +impHandler1(emotePet) +{ + Net::getPetHandler()->emote(static_cast(atoi(args.c_str()))); +} + impHandler1(away) { if (player_node) -- cgit v1.2.3-60-g2f50