mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Spell: Fix name clashing between local variables and class member fields (#25352)
(cherry picked from commit 8a48ece573)
This commit is contained in:
@@ -633,7 +633,7 @@ Corpse* SpellScript::GetHitCorpse() const
|
||||
TC_LOG_ERROR("scripts", "Script: `%s` Spell: `%u`: function SpellScript::GetHitCorpse was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
|
||||
return nullptr;
|
||||
}
|
||||
return m_spell->corpseTarget;
|
||||
return m_spell->m_corpseTarget;
|
||||
}
|
||||
|
||||
WorldLocation* SpellScript::GetHitDest() const
|
||||
|
||||
Reference in New Issue
Block a user