]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
2 ammo boxes space is enough for high priority. 3 are already quite far after all.
authorRudolf Polzer <divverent@xonotic.org>
Wed, 23 Oct 2013 10:59:03 +0000 (12:59 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 23 Oct 2013 10:59:03 +0000 (12:59 +0200)
qcsrc/server/item_ammo.qc

index 3bb647aa7b3a817b438af023de2ce2d09721b6b7..c941ab8824ad93008756537124aacba7f217a1fd 100644 (file)
@@ -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;