Skip to content

Commit

Permalink
Adjust sound origin correction to match the offset defined in game files
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Nov 14, 2023
1 parent 0f7a20e commit 5cdfda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/FeatureHelpers/Sound/SoundWatcherImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class SoundWatcherImpl {

[[nodiscard]] static cs2::Vector correctSoundOrigin(cs2::Vector origin) noexcept
{
constexpr auto heightDifference = -18.0f;
constexpr auto heightDifference = -20.0f;
return cs2::Vector{ origin.x, origin.y, origin.z + heightDifference };
}

Expand Down

0 comments on commit 5cdfda1

Please sign in to comment.