mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7480] Clear flight flag early for safe.
This commit is contained in:
parent
6f51fbece9
commit
b1e712f32f
3 changed files with 4 additions and 4 deletions
|
|
@ -92,8 +92,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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue