Skip to content

Commit 47557b8

Browse files
committed
make caber dmg more consistent
1 parent 34e0d17 commit 47557b8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

game/shared/tf/tf_gamerules.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6342,7 +6342,6 @@ bool CTFGameRules::ApplyOnDamageModifyRules( CTakeDamageInfo &info, CBaseEntity
63426342
case TF_WEAPON_PIPEBOMBLAUNCHER : // Stickies
63436343
case TF_WEAPON_GRENADELAUNCHER :
63446344
case TF_WEAPON_CANNON :
6345-
case TF_WEAPON_STICKBOMB:
63466345
if ( !( bitsDamage & DMG_NOCLOSEDISTANCEMOD ) )
63476346
{
63486347
flRandomDamage *= 0.2f;

game/shared/tf/tf_weapon_bottle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ void CTFStickBomb::Smack( void )
188188

189189
TE_TFExplosion( filter, 0.0f, explosion, Vector(0,0,1), TF_WEAPON_GRENADELAUNCHER, pTFPlayer->entindex(), -1, SPECIAL1, iCustomParticleIndex );
190190

191-
int dmgType = DMG_BLAST | DMG_USEDISTANCEMOD;
191+
int dmgType = DMG_BLAST | DMG_NOCLOSEDISTANCEMOD;
192192
if ( IsCurrentAttackACrit() )
193193
dmgType |= DMG_CRITICAL;
194194

0 commit comments

Comments
 (0)