summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-12 16:54:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-12 16:54:55 +0300
commitc81199bab9f943e187ce8b1347bd06d2395674e6 (patch)
tree1fae31ed74ad2ca4ca0c649e8020210fc78625e1 /src/commands.cpp
parente06ebbc33fae83c4817a39af15fa0784ac233459 (diff)
downloadplus-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.gz
plus-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.bz2
plus-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.xz
plus-c81199bab9f943e187ce8b1347bd06d2395674e6.zip
in pethandler add pet id parameter.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 10abd6d43..07e0414d5 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -726,7 +726,8 @@ impHandler1(emote)
impHandler1(emotePet)
{
- Net::getPetHandler()->emote(static_cast<uint8_t>(atoi(args.c_str())));
+ // need use actual pet id
+ Net::getPetHandler()->emote(static_cast<uint8_t>(atoi(args.c_str())), 0);
}
impHandler1(away)