From b1bf3623fc21f480365e0f26655e8111195b41aa Mon Sep 17 00:00:00 2001 From: Vlad Loktionov Date: Fri, 14 Apr 2023 06:32:16 +0300 Subject: [PATCH] Fix speaker config bug (#586) Co-authored-by: fed <58637860+fedddddd@users.noreply.github.com> --- src/client/component/patches.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/component/patches.cpp b/src/client/component/patches.cpp index 015b5659..dccaeb02 100644 --- a/src/client/component/patches.cpp +++ b/src/client/component/patches.cpp @@ -360,6 +360,9 @@ namespace patches // Makes mis_cheat saved dvar dvars::override::register_bool("mis_cheat", 0, game::DVAR_FLAG_SAVED); + // Fix speaker config bug + dvars::override::register_int("snd_speakerConfig", 50, 2, 50, game::DVAR_FLAG_SAVED); + // Allow kbam input when gamepad is enabled utils::hook::nop(SELECT_VALUE(0x1AC0CE_b, 0x135EFB_b), 2); utils::hook::nop(SELECT_VALUE(0x1A9DDC_b, 0x13388F_b), 6);