1
0
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:
Zeno Rogue 2021-07-29 14:49:01 +02:00
parent c0f91c0ea9
commit 0e71e67ba6

View File

@ -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