From 416f8cd1a77bd40a84f0393866435de25f5718dd Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 23 Oct 2013 17:59:33 +0200 Subject: [PATCH] fix naming --- qcsrc/server/item_ammo.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/server/item_ammo.qc b/qcsrc/server/item_ammo.qc index 23b8f196f..10459cc0e 100644 --- a/qcsrc/server/item_ammo.qc +++ b/qcsrc/server/item_ammo.qc @@ -6,8 +6,8 @@ float autocvar_g_balance_ammodistribution_nudgefactor_max = 1.4; float autocvar_g_balance_ammodistribution_inner_exponent = -1; float autocvar_g_balance_ammodistribution_outer_exponent = 2; float autocvar_g_balance_ammodistribution_outer_nonmatch_exponent = -2; -float autocvar_g_balance_ammodistribution_shortdistance = 64 * 2.125 + 1; -float autocvar_g_balance_ammodistribution_mediumdistance = 512 + 1; +float autocvar_g_balance_ammodistribution_distance_short = 64 * 2.125 + 1; +float autocvar_g_balance_ammodistribution_distance_medium = 512 + 1; // NOTE: these also exist per weapon float autocvar_g_balance_ammodistribution_modifier_shells = 1; float autocvar_g_balance_ammodistribution_modifier_bullets = 1; @@ -232,9 +232,9 @@ void item_ammo_pick() else if (mindist < 0) a.item_ammo_priority[i] = ITEM_AMMO_PRIORITY_NOTTHERE; // Distance based decisions. - else if (mindist <= autocvar_g_balance_ammodistribution_shortdistance) + else if (mindist <= autocvar_g_balance_ammodistribution_distance_short) a.item_ammo_priority[i] = ITEM_AMMO_PRIORITY_SHORT; - else if (mindist <= autocvar_g_balance_ammodistribution_mediumdistance) + else if (mindist <= autocvar_g_balance_ammodistribution_distance_medium) a.item_ammo_priority[i] = ITEM_AMMO_PRIORITY_MEDIUM; else a.item_ammo_priority[i] = ITEM_AMMO_PRIORITY_FAR; -- 2.39.2