*Remove some unused code in movement generator.

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

View File

@@ -33,9 +33,6 @@ void PointMovementGenerator<T>::Initialize(T &unit)
Traveller<T> traveller(unit);
// knockback effect has UNIT_STAT_JUMPING set,so if here we disable sentmonstermove there will be creature position sync problem between client and server
i_destinationHolder.SetDestination(traveller,i_x,i_y,i_z, true /* !unit.hasUnitState(UNIT_STAT_JUMPING)*/);
if (unit.GetTypeId() == TYPEID_UNIT && ((Creature*)&unit)->canFly())
unit.AddUnitMovementFlag(MOVEMENTFLAG_FLYING);
}
template<class T>