From d2eed20acbf95909ab22c763005c9982d325dbf6 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin Date: Fri, 3 Jan 2020 06:37:41 +0500 Subject: [PATCH] Fix weapons bullet spread. --- dlls/hs/ak47.cpp | 4 ++-- dlls/hs/mw2.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/hs/ak47.cpp b/dlls/hs/ak47.cpp index c5963b9b..f219cacb 100644 --- a/dlls/hs/ak47.cpp +++ b/dlls/hs/ak47.cpp @@ -160,9 +160,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 diff --git a/dlls/hs/mw2.cpp b/dlls/hs/mw2.cpp index c428cd50..b54281e2 100644 --- a/dlls/hs/mw2.cpp +++ b/dlls/hs/mw2.cpp @@ -144,9 +144,9 @@ void CMW2::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