Skip to content

[TF2] Clamp pitch values for extra air dash sounds#1955

Open
FlaminSarge wants to merge 1 commit into
ValveSoftware:masterfrom
FlaminSarge:patch-3
Open

[TF2] Clamp pitch values for extra air dash sounds#1955
FlaminSarge wants to merge 1 commit into
ValveSoftware:masterfrom
FlaminSarge:patch-3

Conversation

@FlaminSarge

Copy link
Copy Markdown
Contributor

Description

Prevents air dash sound pitch values from being set to >255, which overflows int m_nPitch.
Maintains previous scaling (1-5 -> 100-120 is now 1-32 -> 100-255, still scaling by 5 per dash).

Prevents air dash sound pitch values from being set to >255, which overflows int m_nPitch

Maintains previous scaling (1-5 -> 100-120 is now 1-32 -> 100-255, still scaling by 5 per dash).
@FlaminSarge FlaminSarge changed the title [TF2] Clamp pitch values for extra air dashes [TF2] Clamp pitch values for extra air dash sounds Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant