From 5ef99978c03eb5cc7d40c1f1a1cc4e5c78f8ea27 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 29 Sep 2025 22:01:40 +0200 Subject: Core/Misc: Reduce differences between branches --- src/server/game/Spells/Spell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/game/Spells/Spell.cpp') diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 783e27a3a8b..5f024a813ea 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -316,7 +316,7 @@ void SpellCastTargets::SetItemTarget(Item* item) void SpellCastTargets::SetTradeItemTarget(Player* caster) { - m_itemTargetGUID.Set(uint64(TRADE_SLOT_NONTRADED)); + m_itemTargetGUID.SetRawValue(uint64(TRADE_SLOT_NONTRADED)); m_itemTargetEntry = 0; m_targetMask |= TARGET_FLAG_TRADE_ITEM; @@ -3931,7 +3931,7 @@ void Spell::finish(bool ok) TC_LOG_DEBUG("spells", "Statue {} is unsummoned in spell {} finish", unitCaster->GetGUID().ToString(), m_spellInfo->Id); // Avoid infinite loops with setDeathState(JUST_DIED) being called over and over // It might make sense to do this check in Unit::setDeathState() and all overloaded functions - if(unitCaster->getDeathState() != JUST_DIED) + if (unitCaster->getDeathState() != JUST_DIED) unitCaster->setDeathState(JUST_DIED); return; } -- cgit v1.2.3