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

[svn] * Little fix in RandomMovementGenerator?
* Updated to 6731 and 680

Original author: Neo2003
Date: 2008-10-06 04:48:59-05:00

Files:
1 modified

Legend:

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

    r6 r18  
    113113            creature.addUnitState(UNIT_STAT_ROAMING); 
    114114            if (creature.canFly()) 
    115                 creature.SetUnitMovementFlags(MOVEMENTFLAG_FLYING2); 
     115                creature.AddUnitMovementFlag(MOVEMENTFLAG_FLYING2); 
    116116            const WaypointNode &node = i_path->at(i_currentNode); 
    117117            i_destinationHolder.SetDestination(traveller, node.x, node.y, node.z); 
     
    177177            creature.addUnitState(UNIT_STAT_ROAMING); 
    178178            if (creature.canFly()) 
    179                 creature.SetUnitMovementFlags(MOVEMENTFLAG_FLYING2); 
     179                creature.AddUnitMovementFlag(MOVEMENTFLAG_FLYING2); 
    180180            const WaypointNode &node = i_path->at(i_currentNode); 
    181181            i_destinationHolder.SetDestination(traveller, node.x, node.y, node.z);