Browse Source

Fix M41A bullet spread.

asheep
Andrey Akhmichin 5 years ago
parent
commit
1e88b13729
  1. 6
      dlls/asheep/m41a.cpp

6
dlls/asheep/m41a.cpp

@ -104,7 +104,7 @@ int CM41A::GetItemInfo(ItemInfo *p) @@ -104,7 +104,7 @@ int CM41A::GetItemInfo(ItemInfo *p)
int CM41A::AddToPlayer( CBasePlayer *pPlayer )
{
if ( CBasePlayerWeapon::AddToPlayer( pPlayer ) )
if( CBasePlayerWeapon::AddToPlayer( pPlayer ) )
{
MESSAGE_BEGIN( MSG_ONE, gmsgWeapPickup, NULL, pPlayer->pev );
WRITE_BYTE( m_iId );
@ -163,9 +163,9 @@ void CM41A::PrimaryAttack() @@ -163,9 +163,9 @@ void CM41A::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