Core/Spells: kill unused parameter from Spell constructor

Added in 1f2292af79
This commit is contained in:
ariel-
2018-02-04 20:15:38 -03:00
parent c7476f335f
commit 9fc732eb97
3 changed files with 3 additions and 9 deletions

View File

@@ -407,7 +407,7 @@ void WorldSession::HandleCastSpellOpcode(WorldPacket& recvPacket)
spellInfo = actualSpellInfo;
}
Spell* spell = new Spell(caster, spellInfo, TRIGGERED_NONE, ObjectGuid::Empty, false);
Spell* spell = new Spell(caster, spellInfo, TRIGGERED_NONE);
spell->m_cast_count = castCount; // set count of casts
spell->prepare(targets);
}