diff options
author | megamage <none@none> | 2008-12-06 14:01:44 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-06 14:01:44 -0600 |
commit | c5593ef779a4ba7bbe9df391bc0defd3bf6c33a1 (patch) | |
tree | ae0cb37bc8f5de0d33bddae95747d7d2162cd8ce /src/game/GameObject.cpp | |
parent | 72edfea129c244cde9a18b3227f775250197ec99 (diff) |
*Update to Mangos 6880. Source: Mangos.
*Skip 6878, 6871.
*Main change: change cell size, add is3dDistance for IsWithinDistInMap and isVisibleForOrDetect.
--HG--
branch : trunk
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r-- | src/game/GameObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() |