feat (core): another helper implemented (#11469)
This commit is contained in:
@@ -13826,6 +13826,7 @@ void Unit::SetSpeed(UnitMoveType mtype, float rate, bool forced)
|
|||||||
if (Unit* critter = ObjectAccessor::GetUnit(*this, GetCritterGUID()))
|
if (Unit* critter = ObjectAccessor::GetUnit(*this, GetCritterGUID()))
|
||||||
critter->UpdateSpeed(mtype, forced);
|
critter->UpdateSpeed(mtype, forced);
|
||||||
}
|
}
|
||||||
|
ToPlayer()->SetCanTeleport(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (mtype)
|
switch (mtype)
|
||||||
|
|||||||
Reference in New Issue
Block a user