From 8d8b6ecc12a96df899c5b058a6aa78b58986c4de Mon Sep 17 00:00:00 2001 From: fed <58637860+fedddddd@users.noreply.github.com> Date: Fri, 14 Jul 2023 03:46:08 +0200 Subject: [PATCH] Fix vehicle compass color --- src/client/component/patches.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/component/patches.cpp b/src/client/component/patches.cpp index bb13bf86..17474a4d 100644 --- a/src/client/component/patches.cpp +++ b/src/client/component/patches.cpp @@ -124,6 +124,11 @@ namespace patches dvars::override::register_string("name", "Unknown Soldier", game::DVAR_FLAG_SAVED); utils::hook::call(0x1405A7CB7, dvar_get_hash_stub); + + // fix vehicle hud compass color + utils::hook::set(0x140948F40, 1.f); + utils::hook::set(0x140948F44, 1.f); + utils::hook::set(0x140948F48, 1.f); } }; }