smoother coloring in Crystal

This commit is contained in:
Zeno Rogue 2019-09-03 08:25:38 +02:00
parent b2fa6703f1
commit f4f7b195ff
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}