Browse Source

Fix mp5's bullet spread.

half-secret
Andrey Akhmichin 5 years ago
parent
commit
46f5f21392
  1. 4
      dlls/mp5.cpp

4
dlls/mp5.cpp

@ -151,9 +151,9 @@ void CMP5::PrimaryAttack()
Vector vecAiming = m_pPlayer->GetAutoaimVector( AUTOAIM_5DEGREES ); Vector vecAiming = m_pPlayer->GetAutoaimVector( AUTOAIM_5DEGREES );
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

Loading…
Cancel
Save