aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCraig Robbins <kde.psych@gmail.com>2015-05-11 02:03:09 +1000
committerCraig Robbins <kde.psych@gmail.com>2015-05-11 02:03:09 +1000
commit5a1975a4e38caa1385cfefac299ce17018172714 (patch)
treeba2f3e6080732c41bea895d850330deda78d5127 /src
parent2b99d904f6b8197931954772b6466d8ee56cafc9 (diff)
downloadminetest-5a1975a4e38caa1385cfefac299ce17018172714.tar.gz
minetest-5a1975a4e38caa1385cfefac299ce17018172714.tar.bz2
minetest-5a1975a4e38caa1385cfefac299ce17018172714.zip
Change lower limit of display_gamma to 1.0 (linear light)
Now matches function comment
Diffstat (limited to 'src')
-rw-r--r--src/light.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/light.cpp b/src/light.cpp
index 08380a180..5dc01fcf0 100644
--- a/src/light.cpp
+++ b/src/light.cpp
@@ -88,7 +88,7 @@ void set_light_table(float gamma)
0
};
- gamma = rangelim(gamma, 1.1, 3.0);
+ gamma = rangelim(gamma, 1.0, 3.0);
float brightness = brightness_step;