Browse Source

Fix weapons bullet spread.

zombie-x
Andrey Akhmichin 5 years ago
parent
commit
3148e9aec3
  1. 8
      dlls/zx/ak47.cpp
  2. 8
      dlls/zx/minigun.cpp
  3. 4
      dlls/zx/mp41a.cpp
  4. 4
      dlls/zx/uzi.cpp

8
dlls/zx/ak47.cpp

@ -137,9 +137,9 @@ void Cak47::PrimaryAttack() @@ -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 ) @@ -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

8
dlls/zx/minigun.cpp

@ -145,9 +145,9 @@ void CMinigun::PrimaryAttack() @@ -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 ) @@ -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

4
dlls/zx/mp41a.cpp

@ -159,9 +159,9 @@ void CMP41a::PrimaryAttack() @@ -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

4
dlls/zx/uzi.cpp

@ -147,9 +147,9 @@ void CUZI::PrimaryAttack() @@ -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

Loading…
Cancel
Save