From 0f57808238ae7003d95247bbba3c243b1f0b2b71 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 22 Apr 2009 18:02:41 -0500 Subject: [PATCH] *Fix build. --HG-- branch : trunk --- src/game/Spell.cpp | 2 +- src/game/Spell.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index a312e62709..fde1b8e3fd 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1434,7 +1434,7 @@ void Spell::SearchChainTarget(std::list &TagUnitMap, float max_range, uin } } -void Spell::SearchAreaTarget(std::list &TagUnitMap, float radius, const uint32 &type, SpellTargets TargetType, uint32 entry) +void Spell::SearchAreaTarget(std::list &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 4cd42a1d59..9470849c16 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 &data, float radius, const uint32 &type, + void SearchAreaTarget(std::list &data, float radius, SpellNotifyPushType type, SpellTargets TargetType, uint32 entry = 0); void SearchChainTarget(std::list &data, float radius, uint32 unMaxTargets, SpellTargets TargetType);