From 17a67f5254fc6ecd252dc332321223d8be120be6 Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 4 Aug 2017 16:24:26 +0200 Subject: [PATCH] Reset .jumppadcount underwater --- qcsrc/ecs/systems/physics.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/ecs/systems/physics.qc b/qcsrc/ecs/systems/physics.qc index e6c2f7ccd..ec97bb2a1 100644 --- a/qcsrc/ecs/systems/physics.qc +++ b/qcsrc/ecs/systems/physics.qc @@ -108,6 +108,7 @@ void sys_phys_update(entity this, float dt) this.com_phys_water = true; sys_phys_simulate(this, dt); this.com_phys_water = false; + this.jumppadcount = 0; } else if (time < this.ladder_time) { this.com_phys_friction = PHYS_FRICTION(this); this.com_phys_vel_max = PHYS_MAXSPEED(this) * maxspeed_mod; -- 2.39.2