Fix weapons bullet spread.

This commit is contained in:
Andrey Akhmichin 2020-01-07 18:39:02 +05:00
parent 3a6b54c8f8
commit 3148e9aec3
4 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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