1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 13:57:38 +00:00

CA for infinite

This commit is contained in:
Zeno Rogue
2020-04-12 20:33:53 +02:00
parent 43e1204e18
commit 11d119766d
3 changed files with 30 additions and 7 deletions

View File

@@ -1054,8 +1054,11 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
break;
case laCA:
if(fargen)
if(fargen) {
c->wall = (hrand(1000000) < ca::prob * 1000000) ? ca::wlive : waNone;
if(c->wall == ca::wlive)
ca::list_adj(c);
}
break;
case laLivefjord: