1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-03-22 19:37:04 +00:00

ads-game:: less walls

This commit is contained in:
Zeno Rogue 2022-09-12 13:20:11 +02:00
parent 2f78601f0b
commit d4d7842e5a

View File

@ -94,18 +94,18 @@ void gen_terrain(cell *c, cellinfo& ci, int level = 0) {
if(level == 2) {
int r = hrand(100);
if(r < 5) {
if(r < 3) {
forCellCM(c1, c) if(hrand(100) < 50)
forCellCM(c2, c1) if(hrand(100) < 50)
if(ci_at[c2].type == wtNone) ci_at[c2].type = wtDestructible;
}
else if(r < 10) {
else if(r < 6) {
forCellCM(c1, c) if(hrand(100) < 50)
forCellCM(c2, c1) if(hrand(100) < 50)
if(ci_at[c2].type < wtSolid)
ci_at[c2].type = wtSolid;
}
else if(r < 12)
else if(r < 8)
ci_at[c].type = wtGate;
}
ci.mpd_terrain = level;