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:
parent
de60f18636
commit
277f29f608
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user