From f4f7b195ff3309da2202061c2953484f6fe83a39 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 3 Sep 2019 08:25:38 +0200 Subject: [PATCH] smoother coloring in Crystal --- crystal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crystal.cpp b/crystal.cpp index 8614bcc6..555719f3 100644 --- a/crystal.cpp +++ b/crystal.cpp @@ -502,7 +502,7 @@ EX color_t colorize(cell *c) { color_t res; res = 0; for(int i=0; i<3; i++) - res |= ((int)(((i == 2 && S7 == 5) ? (128 + co[i] * 50) : (255&int(128 + co[i] * 50))))) << (8*i); + res |= ((int)(((i == 2 && S7 == 5) ? (128 + co[i] * 50) : (255&int(128 + co[i] * 25))))) << (8*i); return res; }