aboutsummaryrefslogtreecommitdiff
path: root/src/game/DynamicObject.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2010-01-12 00:14:09 +0100
committerQAston <none@none>2010-01-12 00:14:09 +0100
commit758baae61b6cdce9588964cf44675b1c8ab9b4f8 (patch)
tree4c4023ffc0ad2dab71a976238877e8968917dd67 /src/game/DynamicObject.cpp
parent3ddea83ffa0f5ec5f93b0e8af8a0fb5fcb6752eb (diff)
*Make sure that any aura (in case of aura remove linked auras for example) won't survive Unit::RemoveAllAuras.
--HG-- branch : trunk
Diffstat (limited to 'src/game/DynamicObject.cpp')
-rw-r--r--src/game/DynamicObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/DynamicObject.cpp b/src/game/DynamicObject.cpp
index 6105ece654e..ee3c42680ec 100644
--- a/src/game/DynamicObject.cpp
+++ b/src/game/DynamicObject.cpp
@@ -179,4 +179,4 @@ bool DynamicObject::isVisibleForInState(Player const* u, bool inVisibleList) con
{
return IsInWorld() && u->IsInWorld()
&& (IsWithinDistInMap(u->m_seer,World::GetMaxVisibleDistanceForObject()+(inVisibleList ? World::GetVisibleObjectGreyDistance() : 0.0f), false));
-} \ No newline at end of file
+}