Scripts/Commands: Fixed build with -DSCRIPTS=0
This commit is contained in:
1 parent
a0e50ea35f
commit
2a1a294383
21 files changed
+85
-85
No files matched your search
@@ -314,7 +314,7 @@ class spell_rog_killing_spree : public SpellScriptLoader
|
||||
{
|
||||
while (!_targets.empty())
|
||||
{
|
||||
uint64 guid = Trinity::Containers::SelectRandomContainerElement(_targets);
|
||||
ObjectGuid guid = Trinity::Containers::SelectRandomContainerElement(_targets);
|
||||
if (Unit* target = ObjectAccessor::GetUnit(*GetTarget(), guid))
|
||||
{
|
||||
GetTarget()->CastSpell(target, SPELL_ROGUE_KILLING_SPREE_TELEPORT, true);
|
||||
@@ -345,7 +345,7 @@ class spell_rog_killing_spree : public SpellScriptLoader
|
||||
}
|
||||
|
||||
private:
|
||||
std::list<uint64> _targets;
|
||||
GuidList _targets;
|
||||
};
|
||||
|
||||
AuraScript* GetAuraScript() const override
|
||||
|
||||
Reference in new issue
Block a user