mirror of
https://github.com/ENSL/NS.git
synced 2024-11-22 12:41:33 +00:00
lightgamma 1 unrestricted
This commit is contained in:
parent
1cd1bf0522
commit
22f6ab0c16
1 changed files with 2 additions and 2 deletions
|
@ -4816,8 +4816,8 @@ void AvHHud::InitExploitPrevention() {
|
|||
ForceCvar("gl_max_size", gl_max_size, 256.0f);
|
||||
|
||||
RemoveAlias("lightgamma");
|
||||
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