mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
do not do Farlands outside of hyperbolic geometry
This commit is contained in:
parent
c5a7b15e98
commit
c6665470aa
@ -2914,7 +2914,7 @@ EX void setdist(cell *c, int d, cell *from) {
|
||||
|
||||
// the number of tiles in the standard geometry has about 7553 digits!
|
||||
int gdist = abs(c->master->distance);
|
||||
if(gdist > global_distance_limit) {
|
||||
if(gdist > global_distance_limit && hyperbolic) {
|
||||
gdist -= global_distance_limit;
|
||||
if(d == 8 && hrand(100) < gdist) {
|
||||
if(!isMultitile(c)) c->monst = moNone;
|
||||
|
Loading…
Reference in New Issue
Block a user