[Dvar] Allow fov up to 120
This commit is contained in:
parent
5fca984714
commit
84e2a2a7be
@ -201,7 +201,8 @@ namespace Components
|
|||||||
Utils::Hook::Xor<DWORD>(0x6431EA, Game::dvar_flag::DVAR_FLAG_WRITEPROTECTED);
|
Utils::Hook::Xor<DWORD>(0x6431EA, Game::dvar_flag::DVAR_FLAG_WRITEPROTECTED);
|
||||||
|
|
||||||
// set cg_fov max to 90.0
|
// set cg_fov max to 90.0
|
||||||
static float cgFov90 = 90.0f;
|
// ...120 because of V2
|
||||||
|
static float cgFov90 = 120.0f;
|
||||||
Utils::Hook::Set<float*>(0x4F8E28, &cgFov90);
|
Utils::Hook::Set<float*>(0x4F8E28, &cgFov90);
|
||||||
|
|
||||||
// set max volume to 1
|
// set max volume to 1
|
||||||
|
Loading…
Reference in New Issue
Block a user