Fix non-PCH build and GitExtensions screwup from last changeset
This commit is contained in:
@@ -5702,7 +5702,7 @@ void AuraEffect::HandlePeriodicDummyAuraTick(Unit* target, Unit* caster) const
|
|||||||
if (targets.empty())
|
if (targets.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Unit* spellTarget = SelectRandomContainerElement(targets);
|
Unit* spellTarget = Trinity::Containers::SelectRandomContainerElement(targets);
|
||||||
|
|
||||||
target->CastSpell(spellTarget, 57840, true);
|
target->CastSpell(spellTarget, 57840, true);
|
||||||
target->CastSpell(spellTarget, 57841, true);
|
target->CastSpell(spellTarget, 57841, true);
|
||||||
|
|||||||
@@ -18,6 +18,11 @@
|
|||||||
#ifndef TRINITY_CONTAINERS_H
|
#ifndef TRINITY_CONTAINERS_H
|
||||||
#define TRINITY_CONTAINERS_H
|
#define TRINITY_CONTAINERS_H
|
||||||
|
|
||||||
|
#include <list>
|
||||||
|
|
||||||
|
//! Because circular includes are bad
|
||||||
|
extern uint32 urand(uint32 min, uint32 max);
|
||||||
|
|
||||||
namespace Trinity
|
namespace Trinity
|
||||||
{
|
{
|
||||||
namespace Containers
|
namespace Containers
|
||||||
|
|||||||
Reference in New Issue
Block a user