diff options
author | megamage <none@none> | 2009-06-15 12:02:55 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-15 12:02:55 -0500 |
commit | b9610f27dd2c55f63f9a96f1259a8dce33b71d88 (patch) | |
tree | 4920b011dc839e2c4901e31d8996a206bff63808 /src/game/WaypointMovementGenerator.cpp | |
parent | 4d6fb6c8b2d84996711fa8bc41e71fa6d483b98c (diff) |
*Check movementflag to interrupt casting instead of checking position.
*Also some other fixes about movement flags.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WaypointMovementGenerator.cpp')
-rw-r--r-- | src/game/WaypointMovementGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp index 49d38799fe3..d256b01bd5d 100644 --- a/src/game/WaypointMovementGenerator.cpp +++ b/src/game/WaypointMovementGenerator.cpp @@ -86,7 +86,7 @@ void WaypointMovementGenerator<Creature>::InitTraveller(Creature &unit, const Wa unit.SetUInt32Value(UNIT_FIELD_BYTES_1, 0); if(unit.canFly()) - unit.AddUnitMovementFlag(MOVEMENTFLAG_FLYING2); + unit.AddUnitMovementFlag(MOVEMENTFLAG_FLYING); unit.addUnitState(UNIT_STAT_ROAMING); } |