From f6d90db750d405d7ab0c07fa531a59b12cce7d6a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 2 Jan 2020 16:53:59 +0100 Subject: [PATCH] crystal::colorize: added '@', changed colors in '=' --- crystal.cpp | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/crystal.cpp b/crystal.cpp index 35193c42..f45e326d 100644 --- a/crystal.cpp +++ b/crystal.cpp @@ -736,7 +736,7 @@ EX color_t colorize(cell *c, char whichCanvas) { coord ico = roundcoord(co); int ones = 0; - for(int i=0; i<4; i++) if((ico[i] & 2) == 2) ones++; + for(int i=0; i 0) return 0x1FF20FF; else if (s < -2) return 0x1C0C0C0; }