From 3148e9aec319b4a634f2e017d04e6ae7de74e011 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin Date: Tue, 7 Jan 2020 18:39:02 +0500 Subject: [PATCH] Fix weapons bullet spread. --- dlls/zx/ak47.cpp | 8 ++++---- dlls/zx/minigun.cpp | 8 ++++---- dlls/zx/mp41a.cpp | 4 ++-- dlls/zx/uzi.cpp | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dlls/zx/ak47.cpp b/dlls/zx/ak47.cpp index 8f73956c..14fa944d 100644 --- a/dlls/zx/ak47.cpp +++ b/dlls/zx/ak47.cpp @@ -137,9 +137,9 @@ void Cak47::PrimaryAttack() Vector vecDir; #ifdef CLIENT_DLL - if ( !bIsMultiplayer() ) + if( bIsMultiplayer() ) #else - if ( !g_pGameRules->IsMultiplayer() ) + if( g_pGameRules->IsMultiplayer() ) #endif { // optimized multiplayer. Widened to make it easier to hit a moving player @@ -207,9 +207,9 @@ void Cak47::SecondaryAttack( void ) Vector vecDir; #ifdef CLIENT_DLL - if ( !bIsMultiplayer() ) + if( bIsMultiplayer() ) #else - if ( !g_pGameRules->IsMultiplayer() ) + if( g_pGameRules->IsMultiplayer() ) #endif { // optimized multiplayer. Widened to make it easier to hit a moving player diff --git a/dlls/zx/minigun.cpp b/dlls/zx/minigun.cpp index edaecf90..0daa51dd 100644 --- a/dlls/zx/minigun.cpp +++ b/dlls/zx/minigun.cpp @@ -145,9 +145,9 @@ void CMinigun::PrimaryAttack() #ifdef CLIENT_DLL - if ( !bIsMultiplayer() ) + if( bIsMultiplayer() ) #else - if ( !g_pGameRules->IsMultiplayer() ) + if( g_pGameRules->IsMultiplayer() ) #endif { // optimized multiplayer. Widened to make it easier to hit a moving player @@ -219,9 +219,9 @@ void CMinigun::SecondaryAttack( void ) #ifdef CLIENT_DLL - if ( !bIsMultiplayer() ) + if( bIsMultiplayer() ) #else - if ( !g_pGameRules->IsMultiplayer() ) + if( g_pGameRules->IsMultiplayer() ) #endif { // optimized multiplayer. Widened to make it easier to hit a moving player diff --git a/dlls/zx/mp41a.cpp b/dlls/zx/mp41a.cpp index 900fd48f..9d2e8b0e 100644 --- a/dlls/zx/mp41a.cpp +++ b/dlls/zx/mp41a.cpp @@ -159,9 +159,9 @@ void CMP41a::PrimaryAttack() Vector vecDir; #ifdef CLIENT_DLL - if ( !bIsMultiplayer() ) + if( bIsMultiplayer() ) #else - if ( !g_pGameRules->IsMultiplayer() ) + if( g_pGameRules->IsMultiplayer() ) #endif { // optimized multiplayer. Widened to make it easier to hit a moving player diff --git a/dlls/zx/uzi.cpp b/dlls/zx/uzi.cpp index 9fa5dd33..a25398ce 100644 --- a/dlls/zx/uzi.cpp +++ b/dlls/zx/uzi.cpp @@ -147,9 +147,9 @@ void CUZI::PrimaryAttack() Vector vecDir; #ifdef CLIENT_DLL - if ( !bIsMultiplayer() ) + if( bIsMultiplayer() ) #else - if ( !g_pGameRules->IsMultiplayer() ) + if( g_pGameRules->IsMultiplayer() ) #endif { // optimized multiplayer. Widened to make it easier to hit a moving player