subrule 3D maps implemented

This commit is contained in:
Zeno Rogue committed 2022-07-13 19:30:36 +02:00
1 parent 7252b04626
commit 6bc3dc9d6f
4 files changed
+198 -24

No files matched your search

+1 -1
View File
@@ -677,7 +677,7 @@ EX int updir(heptagon *h) {
#endif
#if MAXMDIM >= 4
if(WDIM == 3 && reg3::in_rule()) {
for(int i=0; i<S7; i++) if(h->move(i) && h->move(i)->distance < h->distance)
for(int i=0; i<h->type; i++) if(h->move(i) && h->move(i)->distance < h->distance)
return i;
return -1;
}