summaryrefslogtreecommitdiff
path: root/src
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
parent6394328fae6a93d1798bbda6bd8b877bb4aa9241 (diff)
downloadplus-85e6c889657721c0b2314c699a4989fb382c7c40.tar.gz
plus-85e6c889657721c0b2314c699a4989fb382c7c40.tar.bz2
plus-85e6c889657721c0b2314c699a4989fb382c7c40.tar.xz
plus-85e6c889657721c0b2314c699a4989fb382c7c40.zip
Fix ping if player in party or guild (hercules).
Diffstat (limited to 'src')
-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"));