From 261800d76554d36151ca66e18658af74ad99c38f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 14 Mar 2024 20:20:01 +0100 Subject: [PATCH] Cellular Automaton now works when enabled in land_list --- complex.cpp | 1 + content.cpp | 2 +- landlock.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/complex.cpp b/complex.cpp index 9a92500c..535e7282 100644 --- a/complex.cpp +++ b/complex.cpp @@ -3498,6 +3498,7 @@ EX namespace ca { } for(int i=0; iland != laCA) continue; auto last = c->wall; c->wall = willlive[i] ? wlive : waNone; if(c->wall != last) { diff --git a/content.cpp b/content.cpp index a662e4ae..9321db62 100644 --- a/content.cpp +++ b/content.cpp @@ -1454,7 +1454,7 @@ LAND( 0xC000C0, "Crossroads V", laCrossroads5, ZERO, itHyperstone, RESERVED, "Ex LAND( 0xC0C0C0, "Cellular Automaton", laCA, ZERO | LF_TECHNICAL, itNone, RESERVED, cadesc) NATIVE(0) - REQ(NEVER) + REQ(ALWAYS) LAND( 0xC0C0FF, "Mirror Wall", laMirrorWall, ZERO | LF_TECHNICAL | LF_INMIRRORORWALL, itShard, RESERVED, mirroreddesc) NATIVE(isNative(laMirror, m)) diff --git a/landlock.cpp b/landlock.cpp index 1f05d66e..a646bbed 100644 --- a/landlock.cpp +++ b/landlock.cpp @@ -565,6 +565,7 @@ EX eLand getNewLand(eLand old) { tab[cnt++] = laHalloween; tab[cnt++] = laWildWest; tab[cnt++] = laAsteroids; + tab[cnt++] = laCA; // the advanced lands if(all_unlocked || gold() >= R60) {