Scripts/Commands: Fixed build with -DSCRIPTS=0

This commit is contained in:
Shauren committed 2014-09-14 16:54:21 +02:00
1 parent a0e50ea35f
commit 2a1a294383
21 files changed
+85 -85

No files matched your search

+2 -2
View File
@@ -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