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 | |
parent | 6394328fae6a93d1798bbda6bd8b877bb4aa9241 (diff) | |
download | manaplus-85e6c889657721c0b2314c699a4989fb382c7c40.tar.gz manaplus-85e6c889657721c0b2314c699a4989fb382c7c40.tar.bz2 manaplus-85e6c889657721c0b2314c699a4989fb382c7c40.tar.xz manaplus-85e6c889657721c0b2314c699a4989fb382c7c40.zip |
Fix ping if player in party or guild (hercules).
Diffstat (limited to 'src')
-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")); |