mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
un-cheat & un-readonly safeArea_* + save flags
This commit is contained in:
parent
4dbd9b4621
commit
effa6c0e32
@ -286,6 +286,13 @@ namespace patches
|
||||
|
||||
// some anti tamper thing that kills performance
|
||||
dvars::override::Dvar_RegisterInt("dvl", 0, 0, 0, game::DVAR_FLAG_NONE);
|
||||
|
||||
// un-cheat and un-readonly safeArea_* & give dvars saved flags (WIP)
|
||||
// look into: safeArea_adjusted_* always being set to 1?
|
||||
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);
|
||||
dvars::override::Dvar_RegisterFloat("safeArea_vertical", 1, 0, 1, game::DVAR_FLAG_SAVED);
|
||||
}
|
||||
|
||||
static void patch_sp()
|
||||
|
Loading…
Reference in New Issue
Block a user