*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
@@ -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>