Fixed warnings

This commit is contained in:
Joshua Barretto 2023-09-24 16:30:17 +01:00
parent a5ec81a2ab
commit 879a28fbb6
3 changed files with 7 additions and 12 deletions

View File

@ -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},

View File

@ -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,
};

View File

@ -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};