1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00

limited the world size to 10^7553

This commit is contained in:
Zeno Rogue 2020-03-01 02:58:48 +01:00
parent de60f18636
commit 277f29f608

View File

@ -2898,6 +2898,12 @@ EX void setdist(cell *c, int d, cell *from) {
if(d == 7) repairLandgen(c);
// the number of tiles in the standard geometry has about 7553 digits!
if(c->master->distance > 32000 || c->master->distance < -32000) {
c->wall = waNone;
c->item = itOrbSafety;
}
ONEMPTY if(!c->item) {
if(isCrossroads(c->land))
placeCrossroadOrbs(c);