[Dvar] Allow fov up to 120

This commit is contained in:
momo5502 2017-05-27 14:40:12 +02:00
parent 5fca984714
commit 84e2a2a7be

View File

@ -201,7 +201,8 @@ namespace Components
Utils::Hook::Xor<DWORD>(0x6431EA, Game::dvar_flag::DVAR_FLAG_WRITEPROTECTED);
// 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);
// set max volume to 1