Small fix

This commit is contained in:
Federico Cecchetto 2022-05-05 21:09:56 +02:00
parent 82caaa1185
commit 77289501ca

View File

@ -227,7 +227,7 @@ namespace patches
utils::hook::nop(0x14039E58E, 5); // dvar_foreach utils::hook::nop(0x14039E58E, 5); // dvar_foreach
// patch "Server is different version" to show the server client version // patch "Server is different version" to show the server client version
utils::hook::inject(0x140480952, VERSION); utils::hook::inject(0x140480955, VERSION);
// prevent servers overriding our fov // prevent servers overriding our fov
utils::hook::call(0x14023279E, set_client_dvar_from_server_stub); utils::hook::call(0x14023279E, set_client_dvar_from_server_stub);