diff --git a/complex.cpp b/complex.cpp index a91617a3..52b0e676 100644 --- a/complex.cpp +++ b/complex.cpp @@ -1378,6 +1378,11 @@ namespace mirror { cellwalker reflect(const cellwalker& cw) { if(!cw.c) return cw; + if((cw.c->landparam & 255) == 0) { + bool cando = false; + forCellEx(c2, cw.c) if(c2->landparam & 255) cando = true; + if(cando) buildEquidistant(cw.c); + } int cid = (cw.c->landparam >> 8) & CACHEMASK; if(cache[cid].first != cw.c) { cid = nextcache++;