1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

fixed Palace missing walls

This commit is contained in:
Zeno Rogue 2018-04-15 13:31:52 +02:00
parent 4d4343c166
commit 1e1cc78732

View File

@ -267,6 +267,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
}
}
}
else if(c->wall == waPalace) ;
else if((hrand(100) < (lookingForPrincess ? (nonbitrunc ? 11 : 7) : 5) && cdist50(c)) ||
(cdist50(c) == 0 && polarb50(c) && hrand(100) < 60)) {
c->wall = hrand(100) < (lookingForPrincess ? (nonbitrunc ? 25 : 30):50) ? waClosePlate : waOpenPlate;