diff --git a/graph.cpp b/graph.cpp index 7591b2e1..ce685441 100644 --- a/graph.cpp +++ b/graph.cpp @@ -4757,8 +4757,8 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { else { for(int t=0; ttype; t++) if(c->move(t) && c->move(t) < c) - queueline(V * get_corner_position(c, t), - V * get_corner_position(c, (t+1)%c->type), + queueline(V * get_corner_position(c, (t+c->type-1)%c->type), + V * get_corner_position(c, t%c->type), gridcolor(c, c->move(t)), prec); } }