From 871aadb78a0bad8001692b945f598c8617d4bf92 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 21 Jan 2025 09:43:29 -0800 Subject: [PATCH] physics version --- strafe-client/src/physics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/strafe-client/src/physics.rs b/strafe-client/src/physics.rs index 8f27860..333cdd5 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(0); +pub const VERSION:PhysicsVersion=PhysicsVersion(1); const LATEST_COMPATIBLE_VERSION:[u32;1+VERSION.0 as usize]=const{ - let compat=[0]; + let compat=[0,1]; let mut input_version=0; while input_version