mirror of
https://github.com/ENSL/NS.git
synced 2024-11-29 07:41:53 +00:00
another change for lightgamma 1 being allowed
This commit is contained in:
parent
dca187fa4c
commit
eae207d51c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue