mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
reg3:: more happy to create initial altmap
This commit is contained in:
parent
c0f91c0ea9
commit
0e71e67ba6
@ -238,6 +238,9 @@ EX heptagon *createAlternateMap(cell *c, int rad, hstate firststate, int special
|
|||||||
if(c->move(i) && c->move(i)->master->distance < c->master->distance) gdir = i;
|
if(c->move(i) && c->move(i)->master->distance < c->master->distance) gdir = i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if MAXMDIM >= 4
|
||||||
|
if(reg3::in_rule() && c->master->distance == 0) gdir = 0;
|
||||||
|
#endif
|
||||||
if(gdir < 0) return NULL;
|
if(gdir < 0) return NULL;
|
||||||
|
|
||||||
// non-crossing in weird hyperbolic
|
// non-crossing in weird hyperbolic
|
||||||
|
Loading…
Reference in New Issue
Block a user