summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-07 14:35:29 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-07 14:35:29 +0300
commit85e6c889657721c0b2314c699a4989fb382c7c40 (patch)
treee0b27d3e7ba08742b20962baa519d7ea0379d8a7 /src/net/eathena
parent6394328fae6a93d1798bbda6bd8b877bb4aa9241 (diff)
downloadmanaverse-85e6c889657721c0b2314c699a4989fb382c7c40.tar.gz
manaverse-85e6c889657721c0b2314c699a4989fb382c7c40.tar.bz2
manaverse-85e6c889657721c0b2314c699a4989fb382c7c40.tar.xz
manaverse-85e6c889657721c0b2314c699a4989fb382c7c40.zip
Fix ping if player in party or guild (hercules).
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/beingrecv.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 2852438dc..758bcbcbc 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1311,6 +1311,10 @@ void BeingRecv::processPlayerGuilPartyInfo(Net::MessageIn &msg)
Being *const dstBeing = actorManager->findBeing(beingId);
if (dstBeing)
{
+ if (beingId == localPlayer->getId())
+ {
+ localPlayer->pingResponse();
+ }
dstBeing->setName(name);
dstBeing->setPartyName(msg.readString(24, "party name"));
dstBeing->setGuildName(msg.readString(24, "guild name"));