From e19d7e2e642f4b02bc5944e6fa260f33b55c84fe Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 17 Jun 2019 10:59:02 +0200 Subject: [PATCH] ascii: better warped/normal border --- graph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graph.cpp b/graph.cpp index 321da331..fbc1f8fd 100644 --- a/graph.cpp +++ b/graph.cpp @@ -4539,12 +4539,12 @@ void draw_grid_at(cell *c, const transmatrix& V) { } #endif else if(isWarped(c) && has_nice_dual()) { - if(pseudohept(c)) for(int t=0; ttype; t++) + if(pseudohept(c)) for(int t=0; ttype; t++) if(isWarped(c->move(t))) gridline(V, get_warp_corner(c, t%c->type), get_warp_corner(c, (t+1)%c->type), gridcolor(c, c->move(t)), prec); } else { for(int t=0; ttype; t++) - if(c->move(t) && c->move(t) < c) + if(c->move(t) && (c->move(t) < c || isWarped(c->move(t)))) gridline(V, get_corner_position(c, t%c->type), get_corner_position(c, (t+1)%c->type), gridcolor(c, c->move(t)), prec); } }