From 8d8972e314900eca276944ae21b9ecbb281ab7c7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 27 Feb 2020 20:47:59 +0100 Subject: [PATCH] Shallow water coloring --- celldrawer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/celldrawer.cpp b/celldrawer.cpp index ff5c2a84..c7366a7e 100644 --- a/celldrawer.cpp +++ b/celldrawer.cpp @@ -127,6 +127,9 @@ void celldrawer::setcolors() { else fcol = wcol; } + + else if(c->wall == waShallow) + fcol = 0x40C0C0; // floor colors for all the lands else switch(c->land) { @@ -141,7 +144,7 @@ void celldrawer::setcolors() { fcol = floorcolors[c->land]; break; case laWet: - fcol = c->wall == waShallow ? 0x40C0C0 : 0x40FF40; break; + fcol = 0x40FF40; break; #if CAP_COMPLEX2 case laVariant: {