Update dllmain.cpp

This commit is contained in:
0TheSpy 2021-07-09 17:04:39 +03:00 committed by GitHub
parent e22f0fa76e
commit e608166978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,8 +81,7 @@ void OnLevelInit()
iff.g_pCVar->FindVar("mat_postprocess_enable")->SetValue(!g_Options.postproc);
iff.g_pCVar->FindVar("cl_csm_enabled")->SetValue(!g_Options.shadows);
iff.g_pCVar->FindVar("cl_ragdoll_gravity")->SetValue(g_Options.ragdollgravity);
SetValueUnrestricted("cl_phys_timescale", g_Options.ragdolltime);
SetValueUnrestricted("fov_cs_debug", g_Options.fov);
SetValueUnrestricted("cl_phys_timescale", g_Options.ragdolltime);
SetValueUnrestricted("viewmodel_fov", g_Options.viewmodel_fov);
SetValueUnrestricted("viewmodel_offset_x", g_Options.viewmodel_x);
SetValueUnrestricted("viewmodel_offset_y", g_Options.viewmodel_y);