diff --git a/releases/3.05/cl_dlls/client.dll b/releases/3.05/cl_dlls/client.dll index a5a23aa5..2ec6afd6 100644 Binary files a/releases/3.05/cl_dlls/client.dll and b/releases/3.05/cl_dlls/client.dll differ diff --git a/releases/3.05/dlls/ns.dll b/releases/3.05/dlls/ns.dll index da1d7d9b..a30d7817 100644 Binary files a/releases/3.05/dlls/ns.dll and b/releases/3.05/dlls/ns.dll differ diff --git a/releases/3.05/source/dlls/combat.cpp b/releases/3.05/source/dlls/combat.cpp index bd3ffbcd..2a5ba11a 100644 --- a/releases/3.05/source/dlls/combat.cpp +++ b/releases/3.05/source/dlls/combat.cpp @@ -1728,24 +1728,8 @@ Vector CBaseEntity::FireBulletsPlayer ( ULONG cShots, Vector vecSrc, Vector vecD { int theAdjustedDamage = iDamage*theScalar; - if(theAdjustedDamage) - { - if ( isShotgun && !( theEntityHit->pev->iuser3 & AVH_USER3_BREAKABLE) ) - { - float distance=fabs((vecSrc - theEntityHit->pev->origin).Length()); - if ( distance > BALANCE_FVAR(kShotgunDamageRange) ) - { - float fallOffDistance=distance-BALANCE_FVAR(kShotgunDamageRange); - float fallOff=max(0.0, 1.0f-(fallOffDistance/(kSGRange/2))); - theAdjustedDamage*=fallOff; - } - } - if ( theAdjustedDamage ) { - theEntityHit->TraceAttack(pevAttacker, theAdjustedDamage, vecDir, &tr, theDamageType | ((theAdjustedDamage > 16) ? DMG_ALWAYSGIB : DMG_NEVERGIB) ); - } - -// TEXTURETYPE_PlaySound(&tr, vecSrc, vecEnd, iBulletType); -// DecalGunshot( &tr, iBulletType ); + if(theAdjustedDamage) { + theEntityHit->TraceAttack(pevAttacker, theAdjustedDamage, vecDir, &tr, theDamageType | ((theAdjustedDamage > 16) ? DMG_ALWAYSGIB : DMG_NEVERGIB) ); } } }