Core/Spells: kill unused parameter from Spell constructor

Added in 1f2292af79

(cherry picked from commit 9fc732eb97)
This commit is contained in:
ariel-
2018-02-04 20:15:38 -03:00
committed by Shauren
parent a1e0f3bbf7
commit 01d9306854
4 changed files with 4 additions and 10 deletions

View File

@@ -81,7 +81,7 @@ void WorldSession::HandleUseToy(WorldPackets::Toy::UseToy& packet)
SpellCastTargets targets(_player, packet.Cast);
Spell* spell = new Spell(_player, spellInfo, TRIGGERED_NONE, ObjectGuid::Empty, false);
Spell* spell = new Spell(_player, spellInfo, TRIGGERED_NONE);
WorldPackets::Spells::SpellPrepare spellPrepare;
spellPrepare.ClientCastID = packet.Cast.CastID;