1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 15:20:27 +00:00

fixed treasure/monster generation in randomized palaces

This commit is contained in:
Zeno Rogue 2018-05-03 11:00:09 +02:00
parent 4b0a63120a
commit c8b1ea8ee6

View File

@ -180,8 +180,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
else if(i < 35) else if(i < 35)
c->wall = waOpenGate; c->wall = waOpenGate;
} }
break;
} }
else {
if(d == 9) { if(d == 9) {
cell *c2 = gp::on ? c->master->c7 : c; cell *c2 = gp::on ? c->master->c7 : c;
@ -311,6 +311,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
c2->wall = waOpenPlate; c2->wall = waOpenPlate;
} }
} }
}
ONEMPTY { ONEMPTY {
bool lookingForPrincess0 = !euclid && c->master->alt; bool lookingForPrincess0 = !euclid && c->master->alt;