mirror of
https://gitlab.com/veloren/veloren.git
synced 2025-07-25 21:02:31 +00:00
Reformat the source
This commit is contained in:
@ -165,7 +165,10 @@ impl<'a> AgentData<'a> {
|
||||
let climbing_out_of_water = self.physics_state.in_liquid().map_or(false, |h| h < 1.0)
|
||||
&& bearing.z > 0.0
|
||||
&& self.physics_state.on_wall.is_some();
|
||||
self.jump_if(bearing.z > 1.5 || climbing_out_of_water || self.traversal_config.can_fly, controller);
|
||||
self.jump_if(
|
||||
bearing.z > 1.5 || climbing_out_of_water || self.traversal_config.can_fly,
|
||||
controller,
|
||||
);
|
||||
controller.inputs.move_z = bearing.z;
|
||||
if bearing.z > 0.0 {
|
||||
controller.inputs.climb = Some(comp::Climb::Up);
|
||||
|
Reference in New Issue
Block a user