[7480] Clear flight flag early for safe. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user