77#include " SoundFeaturesStates.h"
88#include " WeaponReloadVisualizer.h"
99#include " WeaponScopeVisualizer.h"
10+ #include < FeatureHelpers/Sound/SoundWatcherState.h>
1011#include < Hooks/ViewRenderHook.h>
1112
1213template <typename HookContext>
1314struct SoundFeatures {
14- SoundFeatures (SoundFeaturesStates& states, FeatureHelpers& helpers , ViewRenderHook& viewRenderHook, HookContext& hookContext) noexcept
15+ SoundFeatures (SoundFeaturesStates& states, SoundWatcherState& soundWatcherState , ViewRenderHook& viewRenderHook, HookContext& hookContext) noexcept
1516 : states{states}
16- , helpers{helpers }
17+ , soundWatcherState{soundWatcherState }
1718 , viewRenderHook{viewRenderHook}
1819 , hookContext{hookContext}
1920 {
@@ -90,7 +91,7 @@ struct SoundFeatures {
9091 }
9192
9293 SoundFeaturesStates& states;
93- FeatureHelpers& helpers ;
94+ SoundWatcherState& soundWatcherState ;
9495 ViewRenderHook& viewRenderHook;
9596 HookContext& hookContext;
9697
@@ -102,7 +103,7 @@ struct SoundFeatures {
102103 state,
103104 hookContext,
104105 viewRenderHook,
105- SoundWatcher<HookContext>{helpers. soundWatcherState , hookContext},
106+ SoundWatcher<HookContext>{soundWatcherState, hookContext},
106107 };
107108 }
108109
@@ -112,7 +113,7 @@ struct SoundFeatures {
112113 return SoundVisualizationFeatureToggle<HookContext, SoundType>{
113114 state,
114115 hookContext,
115- SoundWatcher<HookContext>{helpers. soundWatcherState , hookContext},
116+ SoundWatcher<HookContext>{soundWatcherState, hookContext},
116117 viewRenderHook,
117118 };
118119 }
0 commit comments