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/Creature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Creature.cpp') diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 7802dcd2922..f59acb0739b 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -1522,7 +1522,7 @@ void Creature::DeleteFromDB() WorldDatabase.CommitTransaction(); } -bool Creature::canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList) const +bool Creature::canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList, bool is3dDistance) const { // not in world if(!IsInWorld() || !u->IsInWorld()) -- cgit v1.2.3