From 587c45ffb376851ab750897f775c1133a95b6b09 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 23 Oct 2013 12:59:03 +0200 Subject: [PATCH] 2 ammo boxes space is enough for high priority. 3 are already quite far after all. --- qcsrc/server/item_ammo.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/item_ammo.qc b/qcsrc/server/item_ammo.qc index 3bb647aa7..c941ab882 100644 --- a/qcsrc/server/item_ammo.qc +++ b/qcsrc/server/item_ammo.qc @@ -6,7 +6,7 @@ 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 * 3 + 1; +float autocvar_g_balance_ammodistribution_shortdistance = 64 * 2 + 1; float autocvar_g_balance_ammodistribution_mediumdistance = 1024 + 1; // NOTE: these also exist per weapon float autocvar_g_balance_ammodistribution_modifier_shells = 1; @@ -286,7 +286,7 @@ void item_ammo_pick() if (!a) error("Nothing to select. Probably a bug in this code."); - dprint(sprintf("%v (%v): %s -> %s\n", a.origin, a.item_ammo_origin, a.save_classname, Item_CounterFieldName(item_ammo_type(i)))); + dprint(sprintf("%v (%v): %s -> %s (%d)\n", a.origin, a.item_ammo_origin, a.save_classname, Item_CounterFieldName(item_ammo_type(i)), a.item_ammo_priority[i])); // Assign the selected item type to the selected item. a.item_ammo_chosen_type = i; -- 2.39.2