diff --git a/src/client/component/patches.cpp b/src/client/component/patches.cpp index 1dfd1b8f..ca0ef735 100644 --- a/src/client/component/patches.cpp +++ b/src/client/component/patches.cpp @@ -438,7 +438,7 @@ namespace patches // prevent servers overriding our fov utils::hook::nop(0x17DA96_b, 0x16); utils::hook::nop(0xE00BE_b, 0x17); - utils::hook::set(0x307F39_b, 0xEB); + utils::hook::nop(0x307F90_b, 0x5); // don't change cg_fov when toggling third person spectating // make setclientdvar behave like older games cg_set_client_dvar_from_server_hook.create(0x11AA90_b, cg_set_client_dvar_from_server_stub); diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index 8d48b504..62bf8a98 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -296,9 +296,6 @@ namespace game WEAK symbol connectionState{0x0, 0x2EC82C8}; - // TODO: move to dvars.cpp when done - WEAK symbol fs_gameDirVal{0x0, 0x2EC86B8}; - WEAK symbol g_poolSize{0x0, 0x10B3C80}; WEAK symbol g_compressor{0x2574804, 0x3962804};