From: otta8634 Date: Mon, 30 Sep 2024 12:53:35 +0000 (+0800) Subject: Fix jumpspeed not working when !islocal X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=729311eac89a3547744213c7b5003d29ceb6a301;p=xonotic%2Fxonotic-data.pk3dir.git 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 --- 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?