From 0d089c092ace6e2d71a70cade4543017479c5d48 Mon Sep 17 00:00:00 2001 From: Skull <86374920+skkuull@users.noreply.github.com> Date: Wed, 27 Jul 2022 23:28:07 +0300 Subject: [PATCH] set comapsssize min to 0.1 --- src/client/component/patches.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/component/patches.cpp b/src/client/component/patches.cpp index 48ca2740..e5b0b822 100644 --- a/src/client/component/patches.cpp +++ b/src/client/component/patches.cpp @@ -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);