mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
Cleaning unused variables
This commit is contained in:
@@ -3948,7 +3948,7 @@ void Spell::_handle_finish_phase()
|
||||
m_caster->HandleProcExtraAttackFor(m_caster->GetVictim());
|
||||
|
||||
if (!IsAutoRepeat() && !IsNextMeleeSwingSpell())
|
||||
if (Player* p = m_caster->GetCharmerOrOwnerPlayerOrPlayerItself())
|
||||
if (m_caster->GetCharmerOrOwnerPlayerOrPlayerItself())
|
||||
for (std::list<TargetInfo>::iterator ihit = m_UniqueTargetInfo.begin(); ihit != m_UniqueTargetInfo.end(); ++ihit)
|
||||
{
|
||||
// Xinef: Properly clear infinite cooldowns in some cases
|
||||
|
||||
Reference in New Issue
Block a user