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/Creature.h

    r174 r178  
    548548        uint32 m_GlobalCooldown; 
    549549 
     550        bool canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList) const; 
    550551        float GetAttackDistance(Unit const* pl) const; 
    551552 
     
    561562        void SetCurrentCell(Cell const& cell) { m_currentCell = cell; } 
    562563 
    563         bool IsVisibleInGridForPlayer(Player* pl) const; 
     564        bool IsVisibleInGridForPlayer(Player const* pl) const; 
    564565 
    565566        void RemoveCorpse();