aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-22 18:02:41 -0500
committermegamage <none@none>2009-04-22 18:02:41 -0500
commit0f57808238ae7003d95247bbba3c243b1f0b2b71 (patch)
tree228e53980347f93c00f598f9bdfb13f90c63fccc /src
parent7b2443c1f9f3904e52e6ec4c4eb1daf0830542e7 (diff)
*Fix build.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp2
-rw-r--r--src/game/Spell.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index a312e627090..fde1b8e3fdb 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -1434,7 +1434,7 @@ void Spell::SearchChainTarget(std::list<Unit*> &TagUnitMap, float max_range, uin
}
}
-void Spell::SearchAreaTarget(std::list<Unit*> &TagUnitMap, float radius, const uint32 &type, SpellTargets TargetType, uint32 entry)
+void Spell::SearchAreaTarget(std::list<Unit*> &TagUnitMap, float radius, SpellNotifyPushType type, SpellTargets TargetType, uint32 entry)
{
float x, y, z;
if(type == PUSH_DEST_CENTER)
diff --git a/src/game/Spell.h b/src/game/Spell.h
index 4cd42a1d59e..9470849c168 100644
--- a/src/game/Spell.h
+++ b/src/game/Spell.h
@@ -590,7 +590,7 @@ class Spell
void DoAllEffectOnTarget(GOTargetInfo *target);
void DoAllEffectOnTarget(ItemTargetInfo *target);
bool UpdateChanneledTargetList();
- void SearchAreaTarget(std::list<Unit*> &data, float radius, const uint32 &type,
+ void SearchAreaTarget(std::list<Unit*> &data, float radius, SpellNotifyPushType type,
SpellTargets TargetType, uint32 entry = 0);
void SearchChainTarget(std::list<Unit*> &data, float radius, uint32 unMaxTargets,
SpellTargets TargetType);