From e15de8b70dc13e24aefca7fdd2a17be5f150ae49 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 5 Feb 2012 12:02:40 +0200 Subject: [PATCH] Modify light values to work a bit better with non-smooth lighting --- src/light.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/light.cpp b/src/light.cpp index 93e49862..89bddb1c 100644 --- a/src/light.cpp +++ b/src/light.cpp @@ -21,7 +21,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #if 1 /* -Made using this and adding 230 as the second last one: +Made using this and: +- adding 220 as the second last one +- replacing the third last one (212) with 195 #!/usr/bin/python @@ -63,8 +65,8 @@ u8 light_decode_table[LIGHT_MAX+1] = 121, 146, 176, -212, -230, +195, +220, 255, }; #endif -- 2.30.2