Fix vehicle compass color

This commit is contained in:
fed 2023-07-14 03:46:08 +02:00
parent f043d35515
commit 8d8b6ecc12

View File

@ -124,6 +124,11 @@ namespace patches
dvars::override::register_string("name", "Unknown Soldier", game::DVAR_FLAG_SAVED); dvars::override::register_string("name", "Unknown Soldier", game::DVAR_FLAG_SAVED);
utils::hook::call(0x1405A7CB7, dvar_get_hash_stub); utils::hook::call(0x1405A7CB7, dvar_get_hash_stub);
// fix vehicle hud compass color
utils::hook::set<float>(0x140948F40, 1.f);
utils::hook::set<float>(0x140948F44, 1.f);
utils::hook::set<float>(0x140948F48, 1.f);
} }
}; };
} }