From 0c9460b29a3aa8d0b07495b4cf087b1968242cd8 Mon Sep 17 00:00:00 2001 From: navewindre Date: Wed, 12 Sep 2018 02:15:48 +0200 Subject: s --- internal_rewrite/util.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'internal_rewrite') diff --git a/internal_rewrite/util.cpp b/internal_rewrite/util.cpp index a4df63d..a73133d 100644 --- a/internal_rewrite/util.cpp +++ b/internal_rewrite/util.cpp @@ -175,11 +175,7 @@ vec3_t util::get_spread_dir( void *weapon, float inaccuracy, float spread, vec3_ const uint16_t item_def = wpn->m_iItemDefinitionIndex( ); // Because fuck you. - if ( item_def == WEAPON_R8REVOLVER ) { - rand_a = 1.0f - rand_a * rand_a; - rand_b = 1.0f - rand_b * rand_b; - } - else if ( item_def == WEAPON_NEGEV ) { + if ( item_def == WEAPON_NEGEV ) { const int recoil_seed = wpn->get_wpn_info( )->recoil_seed; if ( recoil_seed < 3 ) { -- cgit v1.2.3