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

[svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and partial Windows part)
* Updated to 6721 and 676
* Fixed TrinityScript? logo
* Version updated to 0.2.6721.676

Original author: Neo2003
Date: 2008-10-04 06:17:19-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/WaypointMovementGenerator.cpp

    r2 r6  
    112112            // Now we re-set destination to same node and start travel 
    113113            creature.addUnitState(UNIT_STAT_ROAMING); 
     114            if (creature.canFly()) 
     115                creature.SetUnitMovementFlags(MOVEMENTFLAG_FLYING2); 
    114116            const WaypointNode &node = i_path->at(i_currentNode); 
    115117            i_destinationHolder.SetDestination(traveller, node.x, node.y, node.z); 
     
    174176        { 
    175177            creature.addUnitState(UNIT_STAT_ROAMING); 
     178            if (creature.canFly()) 
     179                creature.SetUnitMovementFlags(MOVEMENTFLAG_FLYING2); 
    176180            const WaypointNode &node = i_path->at(i_currentNode); 
    177181            i_destinationHolder.SetDestination(traveller, node.x, node.y, node.z);