From 6c1d8c3527e2dd2a33d19648ff7d5535ad1e26b5 Mon Sep 17 00:00:00 2001 From: Kamil Date: Thu, 12 Nov 2020 09:31:55 +0100 Subject: [PATCH] updated comment --- src/MobManager.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/MobManager.cpp b/src/MobManager.cpp index f21ab7f..3b31d36 100644 --- a/src/MobManager.cpp +++ b/src/MobManager.cpp @@ -1298,7 +1298,11 @@ void MobManager::projectileHit(CNSocket* sock, CNPacketData* data) { return; } - // initialize response struct + /* + * initialize response struct + * rocket style hit doesn't work properly, so we're always sending this one + */ + size_t resplen = sizeof(sP_FE2CL_PC_GRENADE_STYLE_HIT) + pkt->iTargetCnt * sizeof(sAttackResult); uint8_t respbuf[CN_PACKET_BUFFER_SIZE];