From e0ea0d61191d7f1d1a3ec0e702ac0b65bf85d221 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 14 Jan 2025 22:35:34 -0800 Subject: [PATCH] remove holdover case --- strafe-client/src/mouse_interpolator.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/strafe-client/src/mouse_interpolator.rs b/strafe-client/src/mouse_interpolator.rs index 7105b50..d5fd15b 100644 --- a/strafe-client/src/mouse_interpolator.rs +++ b/strafe-client/src/mouse_interpolator.rs @@ -153,15 +153,8 @@ impl MouseInterpolator{ } } fn is_first_ready(&self)->bool{ - // if the last instruction is a ReplaceMouse instruction matches!(self.physics_timeline.back(),Some(TimedInstruction{ - instruction:PhysicsInputInstruction::Mouse(MouseInstruction::ReplaceMouse{..}), - .. - })) - // or if the last instruction is a SetNextMouse instruction - // and there is 2 or more instructions - ||1