mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
Cellular Automaton now works when enabled in land_list
This commit is contained in:
parent
2b2cc4e8a9
commit
261800d765
@ -3498,6 +3498,7 @@ EX namespace ca {
|
||||
}
|
||||
for(int i=0; i<dcs; i++) {
|
||||
cell *c = allcells[i];
|
||||
if(c->land != laCA) continue;
|
||||
auto last = c->wall;
|
||||
c->wall = willlive[i] ? wlive : waNone;
|
||||
if(c->wall != last) {
|
||||
|
@ -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))
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user