Skip to content

Commit

Permalink
Restore a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed Jun 24, 2024
1 parent 47b4f67 commit 65f155a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/Objects/Unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 65f155a

Please sign in to comment.