From 2588438052203523a75b51b3c2c9ea533711a3fb Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 31 Mar 2020 18:58:34 +0200 Subject: [PATCH] fixed the grid display in 3:2 --- celldrawer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/celldrawer.cpp b/celldrawer.cpp index 75cad58d..3f33296d 100644 --- a/celldrawer.cpp +++ b/celldrawer.cpp @@ -828,7 +828,7 @@ void celldrawer::draw_grid() { int ofs = wall_offset(c); for(int t=0; ttype; t++) { if(!c->move(t)) continue; - if(bt::in() && !sol && !among(t, 5, 6, 8)) continue; + if(bt::in() && !sn::in() && !among(t, 5, 6, 8)) continue; if(!bt::in() && c->move(t) < c) continue; dynamicval g(poly_outline, gridcolor(c, c->move(t))); queuepoly(V, cgi.shWireframe3D[ofs + t], 0);