fixed Elemental Planes in some land structures

This commit is contained in:
Zeno Rogue
2026-07-31 15:25:54 +02:00
parent 09f977f9ad
commit 5da40f8cbc
+3 -1
View File
@@ -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) {