diff --git a/cell.cpp b/cell.cpp index 15e90443..3e2448ec 100644 --- a/cell.cpp +++ b/cell.cpp @@ -1307,7 +1307,7 @@ EX vector adj_minefield_cells(cell *c) { } EX vector reverse_directions(cell *c, int dir) { - if(PURE) return reverse_directions(c->master, dir); + if(PURE && !(kite::in() && WDIM == 2)) return reverse_directions(c->master, dir); int d = c->degree(); if(d & 1) return { gmod(dir + c->type/2, c->type), gmod(dir + (c->type+1)/2, c->type) };