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/Corpse.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/Corpse.cpp')
-rw-r--r-- | src/game/Corpse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Corpse.cpp b/src/game/Corpse.cpp index 63e6933cc56..989ccd61151 100644 --- a/src/game/Corpse.cpp +++ b/src/game/Corpse.cpp @@ -211,5 +211,5 @@ bool Corpse::LoadFromDB(uint32 guid, Field *fields) bool Corpse::isVisibleForInState(Player const* u, bool inVisibleList) const { - return IsInWorld() && u->IsInWorld() && IsWithinDistInMap(u,World::GetMaxVisibleDistanceForObject()+(inVisibleList ? World::GetVisibleObjectGreyDistance() : 0.0f)); + return IsInWorld() && u->IsInWorld() && IsWithinDistInMap(u,World::GetMaxVisibleDistanceForObject()+(inVisibleList ? World::GetVisibleObjectGreyDistance() : 0.0f), false); } |