diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-27 19:21:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-27 19:21:37 +0300 |
commit | 7b2fbfb1f4384cb0e86d4c7cca81a526444d54b8 (patch) | |
tree | 40cf0cab5c0549506555f53422d67ff4f2b868ee /src/commands.cpp | |
parent | 7112c6d75657791aab52a5e1e2f7aec9a0b2519d (diff) | |
download | manaplus-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.cpp | 6 |
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) |