diff options
| author | navewindre <boneyaard@gmail.com> | 2018-09-12 02:15:48 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-09-12 02:15:48 +0200 |
| commit | 0c9460b29a3aa8d0b07495b4cf087b1968242cd8 (patch) | |
| tree | 94751a9168f62b61caad106bc45c593ff7ab68a2 /internal_rewrite/util.cpp | |
| parent | b383d10ec99e35d31836fd8abb91da22208891a5 (diff) | |
s
Diffstat (limited to 'internal_rewrite/util.cpp')
| -rw-r--r-- | internal_rewrite/util.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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 ) {
|
