*Remove some unused code in movement generator.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-08-26 13:39:11 -05:00
1 parent f13b3f4e58
commit 227471fe18
4 files changed
+2 -21

No files matched your search

-3
View File
@@ -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);
}