diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-12 16:54:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-12 16:54:55 +0300 |
commit | c81199bab9f943e187ce8b1347bd06d2395674e6 (patch) | |
tree | 1fae31ed74ad2ca4ca0c649e8020210fc78625e1 /src/commands.cpp | |
parent | e06ebbc33fae83c4817a39af15fa0784ac233459 (diff) | |
download | mv-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.gz mv-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.bz2 mv-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.xz mv-c81199bab9f943e187ce8b1347bd06d2395674e6.zip |
in pethandler add pet id parameter.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 3 |
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) |