Fix weapons bullet spread.

This commit is contained in:
Andrey Akhmichin 2020-01-03 06:37:41 +05:00
parent 4f08cd4c47
commit d2eed20acb
2 changed files with 4 additions and 4 deletions

View File

@ -160,9 +160,9 @@ void CAK47::PrimaryAttack()
Vector vecDir; Vector vecDir;
#ifdef CLIENT_DLL #ifdef CLIENT_DLL
if ( !bIsMultiplayer() ) if ( bIsMultiplayer() )
#else #else
if ( !g_pGameRules->IsMultiplayer() ) if ( g_pGameRules->IsMultiplayer() )
#endif #endif
{ {
// optimized multiplayer. Widened to make it easier to hit a moving player // optimized multiplayer. Widened to make it easier to hit a moving player

View File

@ -144,9 +144,9 @@ void CMW2::PrimaryAttack()
Vector vecDir; Vector vecDir;
#ifdef CLIENT_DLL #ifdef CLIENT_DLL
if ( !bIsMultiplayer() ) if ( bIsMultiplayer() )
#else #else
if ( !g_pGameRules->IsMultiplayer() ) if ( g_pGameRules->IsMultiplayer() )
#endif #endif
{ {
// optimized multiplayer. Widened to make it easier to hit a moving player // optimized multiplayer. Widened to make it easier to hit a moving player