mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Spells: kill unused parameter from Spell constructor
Added in1f2292af79(cherry picked from commit9fc732eb97)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user