From 94b6fa6da33db01d03a7c4613998f5e692adbfa5 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Sun, 25 Apr 2021 23:00:30 +0100 Subject: [PATCH] Don't use movement efficiency for orientation --- common/src/states/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/states/utils.rs b/common/src/states/utils.rs index b11711a579..8cfd9e47db 100644 --- a/common/src/states/utils.rs +++ b/common/src/states/utils.rs @@ -245,7 +245,7 @@ pub fn handle_move(data: &JoinData, update: &mut StateUpdate, efficiency: f32) { /// Updates components to move player as if theyre on ground or in air #[allow(clippy::assign_op_pattern)] // TODO: Pending review in #587 fn basic_move(data: &JoinData, update: &mut StateUpdate, efficiency: f32) { - handle_orientation(data, update, efficiency); + handle_orientation(data, update, 1.0); let accel = if data.physics.on_ground { data.body.base_accel()