From c71fc301ec027da6b6a0014bf616cf6becfae00d Mon Sep 17 00:00:00 2001 From: Ambal Date: Wed, 23 Sep 2009 22:26:21 +0300 Subject: [PATCH] [8527] Make Spell::FillAreaTargets() code use new cell search algorithm Signed-off-by: Ambal --- src/game/Spell.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 4bd0a31fb..f6785f229 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -5910,8 +5910,8 @@ void Spell::FillAreaTargets( UnitList& TagUnitMap, float x, float y, float radiu TypeContainerVisitor world_notifier(notifier); TypeContainerVisitor grid_notifier(notifier); CellLock cell_lock(cell, p); - cell_lock->Visit(cell_lock, world_notifier, *m_caster->GetMap()); - cell_lock->Visit(cell_lock, grid_notifier, *m_caster->GetMap()); + cell_lock->Visit(cell_lock, world_notifier, *m_caster->GetMap(), *m_caster, radius); + cell_lock->Visit(cell_lock, grid_notifier, *m_caster->GetMap(), *m_caster, radius); } void Spell::FillRaidOrPartyTargets( UnitList &TagUnitMap, Unit* member, Unit* center, float radius, bool raid, bool withPets, bool withcaster ) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 58fc7f3ed..495a7f004 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8526" + #define REVISION_NR "8527" #endif // __REVISION_NR_H__