1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +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

@ -2897,6 +2897,12 @@ EX void setdist(cell *c, int d, cell *from) {
if(d == min(reduced_barlev, 9)) moreBigStuff(c);
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))