From 51cd3c81aab976429f3ed4f301cf12b7fc3e3bb9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 18 Dec 2017 21:24:05 +0100 Subject: [PATCH] fixed the grid in EuclidA4 --- graph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graph.cpp b/graph.cpp index 9d23cdac..6d645e56 100644 --- a/graph.cpp +++ b/graph.cpp @@ -4510,11 +4510,11 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { V * ddspin(c,t,+S14) * xpush0(x), gridcolor(c, c->mov[t]), prec); } - else if(ishept(c) && !euclid) ; + else if(ishept(c) && !(euclid&&!a4)) ; else { double x = hexvdist; for(int t=0; t< S6; t++) - if(euclid ? c->mov[t]mov[t] < c)) + if((euclid&&!a4) ? c->mov[t]mov[t] < c)) queueline(V * ddspin(c,t,-S7) * xpush0(x), V * ddspin(c,t,+S7) * xpush0(x), gridcolor(c, c->mov[t]), prec);