From 83ac776b78fdc1eabbc2fe41ec0108fccda51fc0 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 21 Jan 2025 11:41:15 -0800 Subject: [PATCH] Revert "bodge surfs" This reverts commit 65b49d27261754903b2e39194c80ac096afc1da2. --- strafe-client/src/physics.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/strafe-client/src/physics.rs b/strafe-client/src/physics.rs index 333cdd5..814345d 100644 --- a/strafe-client/src/physics.rs +++ b/strafe-client/src/physics.rs @@ -28,9 +28,9 @@ use gameplay::ModeState; // or the only bots which fail are ones exploiting a surgically patched bug. #[derive(Clone,Copy,Hash,Debug,id::Id,Eq,PartialEq,Ord,PartialOrd)] pub struct PhysicsVersion(u32); -pub const VERSION:PhysicsVersion=PhysicsVersion(1); +pub const VERSION:PhysicsVersion=PhysicsVersion(0); const LATEST_COMPATIBLE_VERSION:[u32;1+VERSION.0 as usize]=const{ - let compat=[0,1]; + let compat=[0]; let mut input_version=0; while input_version>52).is_positive(); + let r=n.dot(v).is_positive(); if r{ culled=true; }