fixup to celldistAlt (masterAlt)

This commit is contained in:
Zeno Rogue
2020-01-28 17:58:55 +01:00
parent 3804d2bfb7
commit 59a36709f8
+1 -1
View File
@@ -1676,7 +1676,7 @@ EX void buildCamelot(cell *c) {
EX int masterAlt(cell *c) {
#if MAXMDIM >= 4
if(WDIM == 3 && hyperbolic) return reg3::altdist(c->master);
if(WDIM == 3 && hyperbolic && !reg3::in_rule()) return reg3::altdist(c->master);
#endif
return c->master->alt->distance;
}