Skip to content

Commit 614e57e

Browse files
committed
force disable fall damage spread in comp
1 parent f4f6ee3 commit 614e57e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/game/shared/tf/tf_gamerules.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14513,7 +14513,7 @@ float CTFGameRules::FlPlayerFallDamage( CBasePlayer *pPlayer )
1451314513
float flRatio = (float)pPlayer->GetMaxHealth() / 100.0f;
1451414514
flFallDamage *= flRatio;
1451514515

14516-
if ( !tf_fall_damage_disablespread.GetBool() )
14516+
if ( !tf_fall_damage_disablespread.GetBool() && !IsCompetitiveGame() )
1451714517
flFallDamage *= random->RandomFloat( 0.8f, 1.2f );
1451814518

1451914519
int iCancelFallingDamage = 0;

0 commit comments

Comments
 (0)