From 50f6fe5bd8e39b9a316ad6e6d876890aa867c3be Mon Sep 17 00:00:00 2001 From: Quaternions <krakow20@gmail.com> Date: Tue, 11 Mar 2025 15:08:31 -0700 Subject: [PATCH] common: fix source styles --- lib/common/src/gameplay_style.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/common/src/gameplay_style.rs b/lib/common/src/gameplay_style.rs index 3b9191e1f..9475e270e 100644 --- a/lib/common/src/gameplay_style.rs +++ b/lib/common/src/gameplay_style.rs @@ -529,12 +529,12 @@ impl StyleModifiers{ pub fn source_bhop()->Self{ Self{ - controls_mask:Controls::all()-Controls::MoveUp-Controls::MoveDown, + controls_mask:Controls::all(), controls_mask_state:Controls::all(), strafe:Some(StrafeSettings{ enable:ControlsActivation::full_2d(), - air_accel_limit:Some(Planar64::raw(150<<28)*100), - mv:(Planar64::raw(30)*VALVE_SCALE).fix_1(), + air_accel_limit:Some(Planar64::raw((150<<28)*100)), + mv:Planar64::raw(30<<28), tick_rate:Ratio64::new(100,AbsoluteTime::ONE_SECOND.get() as u64).unwrap(), }), jump:Some(JumpSettings{ @@ -570,12 +570,12 @@ impl StyleModifiers{ } pub fn source_surf()->Self{ Self{ - controls_mask:Controls::all()-Controls::MoveUp-Controls::MoveDown, + controls_mask:Controls::all(), controls_mask_state:Controls::all(), strafe:Some(StrafeSettings{ enable:ControlsActivation::full_2d(), air_accel_limit:Some((int(150)*66*VALVE_SCALE).fix_1()), - mv:(int(30)*VALVE_SCALE).fix_1(), + mv:Planar64::raw(30<<28), tick_rate:Ratio64::new(66,AbsoluteTime::ONE_SECOND.get() as u64).unwrap(), }), jump:Some(JumpSettings{