mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
Fixed warnings, unused code and typos.
Including fix _SCallback for 3 params, triggred mode correct call for .cast back and .cast target. Remove outdated code for support old 19421 (and ranks) implementation in client data.
This commit is contained in:
parent
ce351382a3
commit
88b1974df6
46 changed files with 92 additions and 159 deletions
|
|
@ -2212,7 +2212,7 @@ void Spell::EffectPowerDrain(uint32 i)
|
|||
|
||||
m_caster->ModifyPower(POWER_MANA,gain);
|
||||
//send log
|
||||
m_caster->SendEnergizeSpellLog(m_caster, m_spellInfo->Id,gain,POWER_MANA,false);
|
||||
m_caster->SendEnergizeSpellLog(m_caster, m_spellInfo->Id,gain,POWER_MANA);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -5337,7 +5337,7 @@ void Spell::EffectSummonObject(uint32 i)
|
|||
m_caster->m_ObjectSlot[slot] = pGameObj->GetGUID();
|
||||
}
|
||||
|
||||
void Spell::EffectResurrect(uint32 i)
|
||||
void Spell::EffectResurrect(uint32 /*effIndex*/)
|
||||
{
|
||||
if(!unitTarget)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue