diff options
author | megamage <none@none> | 2009-08-26 13:39:11 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-26 13:39:11 -0500 |
commit | 227471fe18b850c46f52a96f4334ef1951d2b582 (patch) | |
tree | f8391ea37a1ed99bfe79f4722c10532f5e2e9725 /src/game/WaypointMovementGenerator.cpp | |
parent | f13b3f4e58ec84e13da280b5297a5ae789cc834a (diff) |
*Remove some unused code in movement generator.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WaypointMovementGenerator.cpp')
-rw-r--r-- | src/game/WaypointMovementGenerator.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/game/WaypointMovementGenerator.cpp b/src/game/WaypointMovementGenerator.cpp index 92fd9bca2d7..8e5b8a501ff 100644 --- a/src/game/WaypointMovementGenerator.cpp +++ b/src/game/WaypointMovementGenerator.cpp @@ -85,9 +85,6 @@ void WaypointMovementGenerator<Creature>::InitTraveller(Creature &unit, const Wa unit.SetUInt32Value(UNIT_NPC_EMOTESTATE, 0); unit.SetUInt32Value(UNIT_FIELD_BYTES_1, 0); - if(unit.canFly()) - unit.AddUnitMovementFlag(MOVEMENTFLAG_FLYING); - unit.addUnitState(UNIT_STAT_ROAMING); } |