From ea6b5aad1061ebd27f35bae19cf5b13f986ef624 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 21 Aug 2024 19:18:02 +0200 Subject: [PATCH] fixed Crossroads III unlocking in casual --- content.cpp | 2 +- landlock.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content.cpp b/content.cpp index d02d25a4..68d50310 100644 --- a/content.cpp +++ b/content.cpp @@ -1276,7 +1276,7 @@ LAND( 0x4040FF, "Crossroads III", laCrossroads3, ZERO, itHyperstone, RESERVED, "An alternate layout of the Crossroads. Great Walls cross here at right angles." ) NATIVE(0) - REQ(NUMBER(orbsUnlocked(), lands_for_cr3(), XLAT("Finished lands required: %1 (collect %2 treasure)\n", "9", its(R10)))) + REQ(NUMBER(orbsUnlocked(), lands_for_cr3(), XLAT("Finished lands required: %1 (collect %2 treasure)\n", its(lands_for_cr3()), its(R10)))) LAND( 0x4040C0, "Sea Border", laOceanWall, ZERO | LF_TECHNICAL | LF_SEA, itNone, RESERVED, "Border between seas.") // REQAS(laOcean,) diff --git a/landlock.cpp b/landlock.cpp index a4063fcf..3d667e3c 100644 --- a/landlock.cpp +++ b/landlock.cpp @@ -672,10 +672,10 @@ EX eLand getNewLand(eLand old) { tab[cnt++] = randomElementalLandWeighted(); } - if(landUnlocked(laHell)) { + if(landUnlocked(laCrossroads3)) { if(!generatingEquidistant && old != laPrairie) tab[cnt++] = laCrossroads3; } - + if(items[itHell] >= U10) { if(old == laCrossroads || old == laCrossroads2) tab[cnt++] = laOcean; if(old == laOcean) tab[cnt++] = laCrossroads2;