summaryrefslogtreecommitdiff
path: root/src/net/tmwa/pethandler.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/net/tmwa/pethandler.cpp
parente06ebbc33fae83c4817a39af15fa0784ac233459 (diff)
downloadmanaverse-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.gz
manaverse-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.bz2
manaverse-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.xz
manaverse-c81199bab9f943e187ce8b1347bd06d2395674e6.zip
in pethandler add pet id parameter.
Diffstat (limited to 'src/net/tmwa/pethandler.cpp')
-rw-r--r--src/net/tmwa/pethandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp
index 2a3e56e0e..6b9e5adb7 100644
--- a/src/net/tmwa/pethandler.cpp
+++ b/src/net/tmwa/pethandler.cpp
@@ -52,17 +52,19 @@ void PetHandler::handleMessage(Net::MessageIn &msg A_UNUSED)
}
void PetHandler::move(const Being *const being A_UNUSED,
+ const int petId A_UNUSED,
const int x1 A_UNUSED, const int y1 A_UNUSED,
const int x2 A_UNUSED, const int y2 A_UNUSED) const
{
}
void PetHandler::spawn(const Being *const being A_UNUSED,
+ const int petId A_UNUSED,
const int x A_UNUSED, const int y A_UNUSED) const
{
}
-void PetHandler::emote(const uint8_t emoteId) const
+void PetHandler::emote(const uint8_t emoteId, const int petId A_UNUSED) const
{
Net::getChatHandler()->talk("\302\202\302e" + toString(
static_cast<int>(emoteId)), GENERAL_CHANNEL);