From d2cb0c76a7e5095f494b3c25c682651950a864db Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 4 Jul 2021 21:54:38 -0500 Subject: [PATCH] Fix first person backwards roll. --- common/src/states/roll.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/src/states/roll.rs b/common/src/states/roll.rs index 8acf61ef7f..802da371e1 100644 --- a/common/src/states/roll.rs +++ b/common/src/states/roll.rs @@ -50,6 +50,9 @@ impl CharacterBehavior for Data { fn behavior(&self, data: &JoinData) -> StateUpdate { let mut update = StateUpdate::from(data); + // You should not be able to strafe while rolling + update.should_strafe = false; + // Smooth orientation handle_orientation(data, &mut update, 2.5);