mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-22 00:52:29 +00:00
fixed Elemental Planes in some land structures
This commit is contained in:
+3
-1
@@ -2928,7 +2928,9 @@ EX void setland_randomwalk(cell *c) {
|
||||
}
|
||||
|
||||
EX eLand random_land() {
|
||||
return hrand_elt(isize(cheatdest_list) ? cheatdest_list : currentlands);
|
||||
eLand l = hrand_elt(isize(cheatdest_list) ? cheatdest_list : currentlands);
|
||||
if(l == laElementalWall) l = randomElementalLandWeighted();
|
||||
return l;
|
||||
}
|
||||
|
||||
EX void share_land(cell *c, cell *c2) {
|
||||
|
||||
Reference in New Issue
Block a user