Changeset 18 for trunk/src/game/PointMovementGenerator.cpp
- Timestamp:
- 11/19/08 13:23:29 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/PointMovementGenerator.cpp
r2 r18 31 31 Traveller<T> traveller(unit); 32 32 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); 33 36 } 34 37