Fix non-PCH build and GitExtensions screwup from last changeset

This commit is contained in:
Machiavelli
2012-04-08 18:58:42 +02:00
parent bc96df1aae
commit 9d6c8add0e
2 changed files with 6 additions and 1 deletions
@@ -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);
+5
View File
@@ -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