diff options
author | QAston <none@none> | 2009-02-04 19:43:00 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-02-04 19:43:00 +0100 |
commit | ee65a34544a62c19a62b75822672ea88788a8afc (patch) | |
tree | 15004fd7d513fb0210acdb34c2869b3b9928f0b7 /src/game/GameObject.h | |
parent | b709f846a42f038efddddfe8085310de4ef382cc (diff) |
*Implement stealth detection for traps.
--HG--
branch : trunk
Diffstat (limited to 'src/game/GameObject.h')
-rw-r--r-- | src/game/GameObject.h | 1 |
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); |