1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-14 20:57:10 +00:00

Never generate Cursed Canyon in CR6 if it isn't in-game

This commit is contained in:
Joseph C. Sible
2025-09-22 00:20:16 -04:00
parent 8b7e82b460
commit 05cac02a54

View File

@@ -844,6 +844,7 @@ EX bool buildBarrier6(cellwalker cw, eLand m0, eLand m1) {
setland((b[d+1]-2).cpeek(), m1);
setland((b[d+1]+2).cpeek(), m0);
}
if(isLandIngame(laCursed)) {
int cp = curse_percentage;
if(m0 == laCrossroads6 || m1 == laCrossroads6) {
cp = 25;
@@ -855,6 +856,7 @@ EX bool buildBarrier6(cellwalker cw, eLand m0, eLand m1) {
cw.at->monst = moHexer;
cw.at->item = random_curse();
}
}
return true;
}