mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-18 13:44:30 +00:00
subrule 3D maps implemented
This commit is contained in:
1 parent
7252b04626
commit
6bc3dc9d6f
4 files changed
+198
-24
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user