[7480] Clear flight flag early for safe. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-17 14:58:13 -06:00
parent 6d81b4e903
commit 9c7f2a0c01
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -94,8 +94,6 @@ template<class T>
void
TargetedMovementGenerator<T>::Initialize(T &owner)
{
if(!&owner)
return;
owner.RemoveUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
if (owner.GetTypeId() == TYPEID_UNIT && ((Creature*)&owner)->canFly())