mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add todo making glide an ability/item
This commit is contained in:
parent
98f8196a16
commit
c278ac9927
@ -79,11 +79,11 @@ impl<'a> System<'a> for Sys {
|
||||
.unwrap_or(controller.move_dir.into());
|
||||
|
||||
// Glide
|
||||
// TODO: Check for glide ability/item
|
||||
if controller.glide
|
||||
&& !physics.on_ground
|
||||
&& (character.action == Idle || character.action.is_wield())
|
||||
&& character.movement == Jump
|
||||
// TODO: Ask zesterer if we can remove this
|
||||
&& body.is_humanoid()
|
||||
{
|
||||
character.movement = Glide;
|
||||
|
Loading…
Reference in New Issue
Block a user