1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-03 19:27:54 +00:00

Cellular Automaton now works when enabled in land_list

This commit is contained in:
Zeno Rogue
2024-03-14 20:20:01 +01:00
parent 2b2cc4e8a9
commit 261800d765
3 changed files with 3 additions and 1 deletions

View File

@@ -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) {