From: Rudolf Polzer Date: Tue, 22 Oct 2013 10:53:37 +0000 (+0200) Subject: Make sure roundoff errors don't kill the set distances. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=36d0083223f91feb43c49093e7a812c501168c8b;p=xonotic%2Fxonotic-data.pk3dir.git Make sure roundoff errors don't kill the set distances. --- diff --git a/qcsrc/server/item_ammo.qc b/qcsrc/server/item_ammo.qc index 18426de07..8dcc25ba7 100644 --- a/qcsrc/server/item_ammo.qc +++ b/qcsrc/server/item_ammo.qc @@ -4,8 +4,8 @@ float autocvar_g_balance_ammodistribution_nudgevalue = 0; 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_p3distance = 96; -float autocvar_g_balance_ammodistribution_p2distance = 512; +float autocvar_g_balance_ammodistribution_p3distance = 97; +float autocvar_g_balance_ammodistribution_p2distance = 513; // NOTE: these also exist per weapon float autocvar_g_balance_ammodistribution_modifier_shells = 1; float autocvar_g_balance_ammodistribution_modifier_bullets = 1;