From eae207d51c01ff7d41daf8f93388ed386d6fec74 Mon Sep 17 00:00:00 2001 From: pierow Date: Mon, 13 Aug 2018 02:04:22 -0400 Subject: [PATCH] another change for lightgamma 1 being allowed --- main/source/mod/AvHHud.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/source/mod/AvHHud.cpp b/main/source/mod/AvHHud.cpp index 50fa6aea..f83c2830 100644 --- a/main/source/mod/AvHHud.cpp +++ b/main/source/mod/AvHHud.cpp @@ -4847,8 +4847,8 @@ void AvHHud::UpdateExploitPrevention() ForceCvar("r_detailtextures", r_detailtextures, 0.0f); ForceCvar("gl_max_size", gl_max_size, 256.0f); - if(lightgamma && lightgamma->value < 2.0) { - ForceCvar("lightgamma", lightgamma, 2.0f); + if(lightgamma && lightgamma->value < 1.0) { + ForceCvar("lightgamma", lightgamma, 1.0f); } if(lightgamma && lightgamma->value > 5.0) { ForceCvar("lightgamma", lightgamma, 5.0f);