aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.h
diff options
context:
space:
mode:
authorQAston <none@none>2009-02-04 19:43:00 +0100
committerQAston <none@none>2009-02-04 19:43:00 +0100
commitee65a34544a62c19a62b75822672ea88788a8afc (patch)
tree15004fd7d513fb0210acdb34c2869b3b9928f0b7 /src/game/GameObject.h
parentb709f846a42f038efddddfe8085310de4ef382cc (diff)
*Implement stealth detection for traps.
--HG-- branch : trunk
Diffstat (limited to 'src/game/GameObject.h')
-rw-r--r--src/game/GameObject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/GameObject.h b/src/game/GameObject.h
index afeaba98cc9..3b837a0550c 100644
--- a/src/game/GameObject.h
+++ b/src/game/GameObject.h
@@ -571,6 +571,7 @@ class TRINITY_DLL_SPEC GameObject : public WorldObject
void TriggeringLinkedGameObject( uint32 trapEntry, Unit* target);
bool isVisibleForInState(Player const* u, bool inVisibleList) const;
+ bool canDetectTrap(Player const* u, float distance) const;
GameObject* LookupFishingHoleAround(float range);