1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-20 21:08:06 +00:00

reg3:: hrmap_reg3_rule (alt not working correctly yet)

This commit is contained in:
Zeno Rogue
2020-01-26 01:23:10 +01:00
parent 891fd3b0aa
commit 00262e8f6a
7 changed files with 235 additions and 2 deletions

View File

@@ -2544,6 +2544,12 @@ EX namespace linepatterns {
ALLCELLS(
if(is_master(c)) {
int dir = bt::in() ? bt::updir() : 0;
if(WDIM == 3 && standard_tiling()) {
for(int i=0; i<S7; i++) if(c->move(i) && c->move(i)->master->distance < c->master->distance) {
dir = i;
break;
}
}
cell *c2 = c->master->move(dir)->c7;
if(gmatrix.count(c2)) {
if(S3 >= OINF)