diff --git a/src/client/component/patches.cpp b/src/client/component/patches.cpp index 7c323ded..594879f1 100644 --- a/src/client/component/patches.cpp +++ b/src/client/component/patches.cpp @@ -241,10 +241,10 @@ namespace patches // unlock safeArea_* utils::hook::jump(0x1402624F5, 0x140262503); utils::hook::jump(0x14026251C, 0x140262547); - dvars::override::register_int("safeArea_adjusted_horizontal", 1, 0, 1, game::DVAR_FLAG_SAVED); - dvars::override::register_int("safeArea_adjusted_vertical", 1, 0, 1, game::DVAR_FLAG_SAVED); - dvars::override::register_int("safeArea_horizontal", 1, 0, 1, game::DVAR_FLAG_SAVED); - dvars::override::register_int("safeArea_vertical", 1, 0, 1, game::DVAR_FLAG_SAVED); + dvars::override::register_float("safeArea_adjusted_horizontal", 1, 0, 1, game::DVAR_FLAG_SAVED); + dvars::override::register_float("safeArea_adjusted_vertical", 1, 0, 1, game::DVAR_FLAG_SAVED); + dvars::override::register_float("safeArea_horizontal", 1, 0, 1, game::DVAR_FLAG_SAVED); + dvars::override::register_float("safeArea_vertical", 1, 0, 1, game::DVAR_FLAG_SAVED); // allow servers to check for new packages more often dvars::override::register_int("sv_network_fps", 1000, 20, 1000, game::DVAR_FLAG_SAVED); @@ -257,7 +257,7 @@ namespace patches dvars::register_int("scr_game_spectatetype", 1, 0, 99, game::DVAR_FLAG_REPLICATED, ""); - dvars::override::register_bool("ui_drawcrosshair", true, game::DVAR_FLAG_WRITE); + dvars::override::register_bool("ui_drawCrosshair", true, game::DVAR_FLAG_WRITE); dvars::override::register_int("com_maxfps", 0, 0, 1000, game::DVAR_FLAG_SAVED);