set comapsssize min to 0.1

This commit is contained in:
Skull 2022-07-27 23:28:07 +03:00
parent 2c364fb1c6
commit 0d089c092a

View File

@ -293,6 +293,9 @@ namespace patches
}, scheduler::pipeline::main);
}
// Set compassSize dvar minimum to 0.1
dvars::override::register_float("compassSize", 1.0f, 0.1f, 50.0f, game::DVAR_FLAG_SAVED);
// Make cg_fov and cg_fovscale saved dvars
dvars::override::register_float("cg_fov", 65.f, 40.f, 200.f, game::DvarFlags::DVAR_FLAG_SAVED);
dvars::override::register_float("cg_fovScale", 1.f, 0.1f, 2.f, game::DvarFlags::DVAR_FLAG_SAVED);