From: Mario Date: Sat, 25 Nov 2017 01:03:18 +0000 (+1000) Subject: Use start_health instead of a cvar() call to the original cvar X-Git-Tag: xonotic-v0.8.5~2428^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=222176c2ed203ba55b570937755e80078b6c7c9a;p=xonotic%2Fxonotic-data.pk3dir.git Use start_health instead of a cvar() call to the original cvar --- diff --git a/qcsrc/common/mutators/mutator/stale_move_negation/sv_stale_move_negation.qc b/qcsrc/common/mutators/mutator/stale_move_negation/sv_stale_move_negation.qc index 7d5f829a0..c54a8a693 100644 --- a/qcsrc/common/mutators/mutator/stale_move_negation/sv_stale_move_negation.qc +++ b/qcsrc/common/mutators/mutator/stale_move_negation/sv_stale_move_negation.qc @@ -20,7 +20,7 @@ float smneg_multiplier(float weight) { float a = autocvar_g_smneg_bonus_asymptote; float x = max( (!autocvar_g_smneg_bonus ? 0 : (-a + .1)), - weight / cvar("g_balance_health_start") + weight / start_health ); float z = (M_PI / 5) * a; float f = (x > 0)