Show
Ignore:
Timestamp:
11/19/08 13:43:40 (17 years ago)
Author:
yumileroy
Message:

[svn] Rewrite canSeeOrDetect function.
Minor change on trigger creatures.
Remove some unused hacks in scripts.

Original author: megamage
Date: 2008-11-06 10:27:58-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Player.h

    r177 r178  
    19931993        ClientGUIDs m_clientGUIDs; 
    19941994 
    1995         bool HaveAtClient(WorldObject const* u) { return u==this || m_clientGUIDs.find(u->GetGUID())!=m_clientGUIDs.end(); } 
    1996  
    1997         bool IsVisibleInGridForPlayer(Player* pl) const; 
     1995        bool HaveAtClient(WorldObject const* u) const { return u==this || m_clientGUIDs.find(u->GetGUID())!=m_clientGUIDs.end(); } 
     1996 
     1997        bool canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList) const; 
     1998        bool IsVisibleInGridForPlayer(Player const* pl) const; 
    19981999        bool IsVisibleGloballyFor(Player* pl) const; 
    19992000