From 36c69563229bd7c4745925f932fc81ff6e702139 Mon Sep 17 00:00:00 2001 From: Stephen Saunders Date: Sat, 20 Jan 2024 02:17:15 -0500 Subject: [PATCH] Initialize idPhysics_Player::clientPusherLocked to false so physics logic is sane at start --- neo/d3xp/physics/Physics_Player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/d3xp/physics/Physics_Player.h b/neo/d3xp/physics/Physics_Player.h index e56b490f..8c3eb4f0 100644 --- a/neo/d3xp/physics/Physics_Player.h +++ b/neo/d3xp/physics/Physics_Player.h @@ -196,7 +196,7 @@ private: waterLevel_t waterLevel; int waterType; - bool clientPusherLocked; + bool clientPusherLocked = false; // SRS - initialize to unlocked at start private: float CmdScale( const usercmd_t& cmd ) const;