mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed warnings
This commit is contained in:
parent
a5ec81a2ab
commit
879a28fbb6
@ -75,7 +75,7 @@ macro_rules! reexport_comps {
|
||||
($($name:ident: $type:ident,)*) => {
|
||||
mod inner {
|
||||
pub use common::comp::*;
|
||||
use common::link::Is
|
||||
use common::link::Is;
|
||||
use common::{
|
||||
mounting::{Mount, Rider, VolumeRider},
|
||||
tether::{Leader, Follower},
|
||||
|
@ -40,6 +40,8 @@ use common::{
|
||||
effect::Effect,
|
||||
event::{EventBus, ServerEvent},
|
||||
generation::{EntityConfig, EntityInfo},
|
||||
link::Is,
|
||||
mounting::Rider,
|
||||
npc::{self, get_npc_name},
|
||||
outcome::Outcome,
|
||||
parse_cmd_args,
|
||||
@ -47,7 +49,7 @@ use common::{
|
||||
rtsim::{Actor, Role},
|
||||
terrain::{Block, BlockKind, CoordinateConversions, SpriteKind, TerrainChunkSize},
|
||||
tether::Tethered,
|
||||
uid::{IdMaps, Uid},
|
||||
uid::Uid,
|
||||
vol::ReadVol,
|
||||
weather, Damage, DamageKind, DamageSource, Explosion, LoadoutBuilder, RadiusEffect,
|
||||
};
|
||||
|
@ -1,20 +1,13 @@
|
||||
use crate::{
|
||||
render::{
|
||||
pipelines::tether::{BoundLocals, Locals, Vertex},
|
||||
Consts, CullingMode, FirstPassDrawer, Instances, LodObjectInstance, LodObjectVertex, Mesh,
|
||||
Model, Quad, Renderer, Tri,
|
||||
},
|
||||
scene::{camera, Camera},
|
||||
settings::Settings,
|
||||
use crate::render::{
|
||||
pipelines::tether::{BoundLocals, Locals, Vertex},
|
||||
FirstPassDrawer, Mesh, Model, Quad, Renderer,
|
||||
};
|
||||
use client::Client;
|
||||
use common::{
|
||||
assets::{AssetExt, ObjAsset},
|
||||
comp,
|
||||
link::Is,
|
||||
tether::Follower,
|
||||
uid::{IdMaps, Uid},
|
||||
util::srgba_to_linear,
|
||||
};
|
||||
use hashbrown::HashMap;
|
||||
use specs::{Join, WorldExt};
|
||||
|
Loading…
Reference in New Issue
Block a user