From 1242ff31eb1175ea7d365226d3e6342e98601d0c Mon Sep 17 00:00:00 2001 From: m <64374267+mjkzy@users.noreply.github.com> Date: Thu, 15 Apr 2021 10:52:16 -0500 Subject: [PATCH] don't use nop --- src/client/component/patches.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/component/patches.cpp b/src/client/component/patches.cpp index 56ed333..0e86cb3 100644 --- a/src/client/component/patches.cpp +++ b/src/client/component/patches.cpp @@ -288,8 +288,8 @@ namespace patches dvars::override::Dvar_RegisterInt("dvl", 0, 0, 0, game::DVAR_FLAG_NONE); // unlock safeArea_* - utils::hook::nop(0x140219F62, 5); // not allowing change on horizontal - //utils::hook::nop(0x140219F89, 5); + utils::hook::jump(0x140219F5E, 0x140219F67); + utils::hook::jump(0x140219F80, 0x140219F8E); dvars::override::Dvar_RegisterFloat("safeArea_adjusted_horizontal", 1, 0, 1, game::DVAR_FLAG_SAVED); dvars::override::Dvar_RegisterFloat("safeArea_adjusted_vertical", 1, 0, 1, game::DVAR_FLAG_SAVED); dvars::override::Dvar_RegisterFloat("safeArea_horizontal", 1, 0, 1, game::DVAR_FLAG_SAVED);