aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.h
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-17 18:45:54 -0600
committermegamage <none@none>2008-12-17 18:45:54 -0600
commit01db065cebc656ff1936731a3a0aa4ceece6e8dd (patch)
treebda773269df448fa1790d61da398dc2b2b42a43c /src/game/Object.h
parent32a9420289e9f4a17927fd0644d7f4edc6119b9a (diff)
*Let feign death interrupt enemies' casting.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.h')
-rw-r--r--src/game/Object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Object.h b/src/game/Object.h
index 4eab67185df..70bb50893da 100644
--- a/src/game/Object.h
+++ b/src/game/Object.h
@@ -479,6 +479,7 @@ class TRINITY_DLL_SPEC WorldObject : public Object
Creature* SummonTrigger(float x, float y, float z, float ang, uint32 dur, CreatureAI* (*GetAI)(Creature*) = NULL);
bool isActive() const { return m_isActive; }
void setActive(bool isActive);
+ template<class NOTIFIER> void VisitNearbyObject(const float &radius, NOTIFIER &notifier) const { GetMap()->VisitAll(GetPositionX(), GetPositionY(), radius, notifier); }
protected:
explicit WorldObject();
std::string m_name;