From 65f155a820abf488f9bd5e7e91dff9a7ee3a467f Mon Sep 17 00:00:00 2001 From: ratkosrb Date: Mon, 24 Jun 2024 03:38:01 +0300 Subject: [PATCH] Restore a comment. --- src/game/Objects/Unit.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/Objects/Unit.cpp b/src/game/Objects/Unit.cpp index 1e8e823e9df..209a66dc820 100644 --- a/src/game/Objects/Unit.cpp +++ b/src/game/Objects/Unit.cpp @@ -1123,6 +1123,8 @@ void Unit::Kill(Unit* pVictim, SpellEntry const* spellProto, bool durabilityLoss DEBUG_FILTER_LOG(LOG_FILTER_DAMAGE, "DealDamageHealth1"); + // remember victim PvP death for corpse type and corpse reclaim delay + // at original death (not at SpiritOfRedemptionTalent timeout) if (pPlayerVictim && !damageFromSpiritOfRedemptionTalent) pPlayerVictim->SetPvPDeath(pPlayerTap != nullptr);