Skip to content

Commit 4ccebff

Browse files
committed
Core/Units: Fixed crash caused by a gameobject dealing damage to units with SPELL_AURA_SPLIT_DAMAGE
Closes TrinityCore#31874
1 parent fbaadff commit 4ccebff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/game/Entities/Unit/Unit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5198,7 +5198,7 @@ void Unit::SendSpellNonMeleeDamageLog(SpellNonMeleeDamage const* log)
51985198
{
51995199
WorldPackets::CombatLog::SpellNonMeleeDamageLog packet;
52005200
packet.Me = log->target->GetGUID();
5201-
packet.CasterGUID = log->attacker->GetGUID();
5201+
packet.CasterGUID = Object::GetGUID(log->attacker);
52025202
packet.SpellID = log->SpellID;
52035203
packet.Damage = log->damage;
52045204
if (log->damage > log->target->GetHealth())

0 commit comments

Comments
 (0)