Random Pattern Mode: fixed the Land of Power, treasures appear in the Reptiles.

This commit is contained in:
Zeno Rogue 2018-07-08 14:31:48 +02:00
parent 94371d8469
commit 5786d22774
1 changed files with 3 additions and 1 deletions

View File

@ -466,7 +466,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
if(d==8) {
int v;
if(randomPatternsMode)
v = RANDPAT ? 24 : 0;
v = RANDPAT ? 24 : 1;
else if(sphere) {
int gs = getHemisphere(c, 0);
if(gp::on) {
@ -608,6 +608,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
if(RANDPAT) c->wall = waChasm;
else c->wall = ch < (50 + items[itDodeca] + yendor::hardness()) ? waReptile : waNone;
c->wparam = 1 + hrand(reptilemax());
if(c->wall == waNone && hrand(5000) < 25)
c->item = itDodeca;
}
else {
int i = zebra40(c);