fixed Palace missing walls

This commit is contained in:
Zeno Rogue 2018-04-15 13:31:52 +02:00
parent 4d4343c166
commit 1e1cc78732
1 changed files with 1 additions and 0 deletions

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;