1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

Temple walls are now random (never full) in weirdhyperbolic && nonbitrunc

This commit is contained in:
Zeno Rogue 2018-04-06 22:23:44 +02:00
parent 90d4f0d613
commit a1118216dd

View File

@ -1255,7 +1255,10 @@ void moreBigStuff(cell *c) {
c->land = laTemple, c->wall = waNone, c->monst = moNone, c->item = itNone; c->land = laTemple, c->wall = waNone, c->monst = moNone, c->item = itNone;
} }
if(d % TEMPLE_EACH==0) { if(d % TEMPLE_EACH==0) {
if((weirdhyperbolic && nonbitrunc) ? hrand(100) < 50 : pseudohept(c)) if(weirdhyperbolic && nonbitrunc) {
if(hrand(100) < 50) c->wall = waColumn;
}
else if(pseudohept(c))
c->wall = waColumn; c->wall = waColumn;
else { else {
if(!euclid) for(int i=0; i<S7; i++) generateAlts(c->master->move[i]); if(!euclid) for(int i=0; i<S7; i++) generateAlts(c->master->move[i]);