Merge branch 'xMAC94x/update-toolchain' into 'master'

switch toolchain to nightly-2021-01-01

See merge request veloren/veloren!1675
This commit is contained in:
Marcel 2021-01-03 21:53:12 +00:00
commit 1358a5d40c
4 changed files with 7 additions and 7 deletions

View File

@ -471,7 +471,7 @@ impl<'a> System<'a> for Sys {
None
})
};
}
let z_range = z_min..z_max;
// Function for determining whether the player at a specific position collides
@ -486,7 +486,7 @@ impl<'a> System<'a> for Sys {
) -> bool {
collision_iter(pos, terrain, &|block| block.is_solid() && hit(block), &Block::solid_height, near_iter, radius, z_range).count()
> 0
};
}
let was_on_ground = physics_state.on_ground;
physics_state.on_ground = false;

View File

@ -1 +1 @@
nightly-2020-12-09
nightly-2021-01-01

View File

@ -947,7 +947,7 @@ impl Controls {
])
.align_items(Align::Center)
.into()
};
}
fn char_slider_greyable<'a>(
active: bool,
text: &str,
@ -984,7 +984,7 @@ impl Controls {
.align_items(Align::Center)
.into()
}
};
}
let slider_options = Column::with_children(vec![
char_slider(

View File

@ -576,7 +576,7 @@ impl Ui {
enum State {
Image(TexId),
Plain,
};
}
let mut current_state = State::Plain;
let mut start = 0;
@ -590,7 +590,7 @@ impl Ui {
Interface,
// Number of primitives left to render ingame and visibility
InWorld(usize, bool),
};
}
let mut placement = Placement::Interface;