From c5593ef779a4ba7bbe9df391bc0defd3bf6c33a1 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 6 Dec 2008 14:01:44 -0600 Subject: *Update to Mangos 6880. Source: Mangos. *Skip 6878, 6871. *Main change: change cell size, add is3dDistance for IsWithinDistInMap and isVisibleForOrDetect. --HG-- branch : trunk --- src/game/GameObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/GameObject.cpp') diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index 3a11bf95c35..7008798b806 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -732,7 +732,7 @@ bool GameObject::isVisibleForInState(Player const* u, bool inVisibleList) const // check distance return IsWithinDistInMap(u,World::GetMaxVisibleDistanceForObject() + - (inVisibleList ? World::GetVisibleObjectGreyDistance() : 0.0f) ); + (inVisibleList ? World::GetVisibleObjectGreyDistance() : 0.0f), false); } void GameObject::Respawn() -- cgit v1.2.3