diff --git a/src/client/component/patches.cpp b/src/client/component/patches.cpp index e66157a1..192ce0aa 100644 --- a/src/client/component/patches.cpp +++ b/src/client/component/patches.cpp @@ -325,6 +325,9 @@ namespace patches dvars::override::register_float("gpad_stick_pressed", 0.4f, 0, 1, game::DVAR_FLAG_SAVED); dvars::override::register_float("gpad_stick_pressed_hysteresis", 0.1f, 0, 1, game::DVAR_FLAG_SAVED); + // Prevent the game from modifying Windows microphone volume (since voice chat isn't used) + utils::hook::set(0x5BEEA0_b, 0xC3); // Mixer_SetWaveInRecordLevels + if (!game::environment::is_sp()) { patch_mp();