mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 05:11:55 +01:00
Core/Spells: Allow passing SpellDestination to CastSpell to target locations on a transport
This commit is contained in:
@@ -425,6 +425,11 @@ struct TC_GAME_API CastSpellTargetArg
|
||||
Targets.emplace();
|
||||
Targets->SetDst(dest);
|
||||
}
|
||||
CastSpellTargetArg(SpellDestination const& dest)
|
||||
{
|
||||
Targets.emplace();
|
||||
Targets->SetDst(dest);
|
||||
}
|
||||
CastSpellTargetArg(SpellCastTargets&& targets)
|
||||
{
|
||||
Targets.emplace(std::move(targets));
|
||||
|
||||
Reference in New Issue
Block a user