diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-07 14:35:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-07 14:35:29 +0300 |
commit | 85e6c889657721c0b2314c699a4989fb382c7c40 (patch) | |
tree | e0b27d3e7ba08742b20962baa519d7ea0379d8a7 /src/net | |
parent | 6394328fae6a93d1798bbda6bd8b877bb4aa9241 (diff) | |
download | manaverse-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')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 4 |
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")); |