From 0449e726838e44257acdf8f8cfbd14f68122ea1b Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 22 Nov 2017 14:37:23 +1000 Subject: [PATCH] Temporarily remove a fabs that didn't exist before (potential fix for some jumppad inaccuracies) --- qcsrc/common/triggers/trigger/jumppads.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/triggers/trigger/jumppads.qc b/qcsrc/common/triggers/trigger/jumppads.qc index 822411c6a..b49b291d5 100644 --- a/qcsrc/common/triggers/trigger/jumppads.qc +++ b/qcsrc/common/triggers/trigger/jumppads.qc @@ -73,7 +73,7 @@ vector trigger_push_calculatevelocity(vector org, entity tgt, float ht) */ // push him so high... - vz = sqrt(fabs(2 * grav * jumpheight)); // NOTE: sqrt(positive)! + vz = sqrt(2 * grav * jumpheight); // NOTE: sqrt(positive)! // we start with downwards velocity only if it's a downjump and the jump apex should be outside the jump! if(ht < 0) -- 2.39.2