From 729311eac89a3547744213c7b5003d29ceb6a301 Mon Sep 17 00:00:00 2001 From: otta8634 Date: Mon, 30 Sep 2024 20:53:35 +0800 Subject: [PATCH] Fix jumpspeed not working when !islocal Removed the real_onground check Player shouldn't really be onground if they're holding jump & just jumped Couldn't find any situations where this change breaks things --- qcsrc/client/hud/panel/physics.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud/panel/physics.qc b/qcsrc/client/hud/panel/physics.qc index a03023e41..6fdb45322 100644 --- a/qcsrc/client/hud/panel/physics.qc +++ b/qcsrc/client/hud/panel/physics.qc @@ -177,7 +177,7 @@ void HUD_Physics() } else { - if (vel_phys.z > prev_vel_z && jumpheld && !real_onground && !swimming && alive_player) + if (vel_phys.z > prev_vel_z && jumpheld && !swimming && alive_player) { // NOTE: this includes some situations where the player doesn't explicitly jump (e.g. jumppad, weapon kb) // excluding them would be difficult. maybe they can be left in? -- 2.39.2