Show
Ignore:
Timestamp:
11/21/08 16:54:14 (17 years ago)
Author:
yumileroy
Message:

*Let creature search nearby target before enter evade mode
*Add function canStartAttack to reduce code in MoveInLineOfSight?
*Fix a bug that cancelling bind sight auras may crash the server

Original author: megamage
Date: 2008-11-21 10:07:11-06:00

Files:
1 modified

Legend:

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

    r266 r267  
    558558        bool canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList) const; 
    559559        bool IsWithinSightDist(Unit const* u) const; 
     560        bool canStartAttack(Unit const* u) const; 
    560561        float GetAttackDistance(Unit const* pl) const; 
    561562