mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
allow change on horizontal safezone
This commit is contained in:
parent
effa6c0e32
commit
a6c94990dc
@ -287,8 +287,9 @@ 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?
|
||||
// unlock safeArea_*
|
||||
utils::hook::nop(0x140219F62, 5); // not allowing change on horizontal
|
||||
//utils::hook::nop(0x140219F89, 5);
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user