aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);