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/PointMovementGenerator.cpp

    r2 r18  
    3131    Traveller<T> traveller(unit); 
    3232    i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z); 
     33     
     34    if (unit.GetTypeId() == TYPEID_UNIT && ((Creature*)&unit)->canFly()) 
     35        unit.AddUnitMovementFlag(MOVEMENTFLAG_FLYING2); 
    3336} 
    3437