From 85e6c889657721c0b2314c699a4989fb382c7c40 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Mar 2016 14:35:29 +0300 Subject: Fix ping if player in party or guild (hercules). --- src/net/eathena/beingrecv.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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")); -- cgit v1.2.3-70-g09d2