]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
adjust short range so it also includes 1.5 item boxes diagonally (1.5 sqrt 2)
authorRudolf Polzer <divverent@xonotic.org>
Wed, 23 Oct 2013 11:38:25 +0000 (13:38 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 23 Oct 2013 11:38:25 +0000 (13:38 +0200)
qcsrc/server/item_ammo.qc

index 229c5beeffd889b22fb80a1aa9fcf7289475150f..23b8f196f5d7b032f67cf52fcd6175389da7e069 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 * 2 + 1;
+float autocvar_g_balance_ammodistribution_shortdistance = 64 * 2.125 + 1;
 float autocvar_g_balance_ammodistribution_mediumdistance = 512 + 1;
 // NOTE: these also exist per weapon
 float autocvar_g_balance_ammodistribution_modifier_shells = 1;