Changeset 266 for trunk/src/game/Unit.h

Show
Ignore:
Timestamp:
11/21/08 08:48:50 (17 years ago)
Author:
yumileroy
Message:

*Fix the bug that updatepacket is not sent to players.
*TODO: move creature::update to map::update. This requires that move activeobjectlist to map.

Original author: megamage
Date: 2008-11-20 20:28:17-06:00

Files:
1 modified

Legend:

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

    r257 r266  
    763763        void CombatStop(bool cast = false); 
    764764        void CombatStopWithPets(bool cast = false); 
    765         Unit* SelectNearbyTarget() const; 
     765        Unit* SelectNearbyTarget(float dist = ATTACK_DISTANCE) const; 
    766766 
    767767        void addUnitState(uint32 f) { m_state |= f; }