fix third person spectating #320
This commit is contained in:
parent
a0529eb761
commit
2c6da84d54
@ -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<uint8_t>(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);
|
||||
|
@ -296,9 +296,6 @@ namespace game
|
||||
|
||||
WEAK symbol<int> connectionState{0x0, 0x2EC82C8};
|
||||
|
||||
// TODO: move to dvars.cpp when done
|
||||
WEAK symbol<dvar_t> fs_gameDirVal{0x0, 0x2EC86B8};
|
||||
|
||||
WEAK symbol<int> g_poolSize{0x0, 0x10B3C80};
|
||||
WEAK symbol<int> g_compressor{0x2574804, 0x3962804};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user