diff --git a/src/game/shared/swarm/asw_weapon_sniper_rifle.cpp b/src/game/shared/swarm/asw_weapon_sniper_rifle.cpp index f2ba70c24..58cfebf93 100644 --- a/src/game/shared/swarm/asw_weapon_sniper_rifle.cpp +++ b/src/game/shared/swarm/asw_weapon_sniper_rifle.cpp @@ -192,13 +192,14 @@ void CASW_Weapon_Sniper_Rifle::PrimaryAttack( void ) int iPenetration = 1; if ( IsZoomed() ) { - iPenetration = 2; + iPenetration += 1; } if ( pMarine->GetDamageBuffEndTime() > gpGlobals->curtime ) // sniper rifle penetrates more targets when marine is in a damage amp { - iPenetration = 3; + iPenetration += 2; } - pMarine->FirePenetratingBullets( info, iPenetration, 3.5f, 0, true, NULL, false ); + int iWallPenetration = 1 + iPenetration; + pMarine->FirePenetratingBullets( info, iPenetration, iWallPenetration + 0.5f, 0, true, NULL, false ); // increment shooting stats #ifndef CLIENT_DLL