in adj_minefield_cells_full, change forCellIdEx to forCellIdCM

This commit is contained in:
Zeno Rogue 2023-07-11 17:35:54 +02:00
parent c6ccee56f9
commit 754e774bcf
1 changed files with 1 additions and 1 deletions

View File

@ -1632,7 +1632,7 @@ EX vector<adj_data> adj_minefield_cells_full(cell *c) {
if(hdist(h, T * h2) < 1e-6) shares = true;
if(shares) res.emplace_back(adj_data{c1, det(T) < 0, T});
}
if(shares || c == c1) forCellIdEx(c2, i, c1) {
if(shares || c == c1) forCellIdCM(c2, i, c1) {
if(cl.listed(c2)) continue;
cl.add(c2);
M.push_back(T * currentmap->adj(c1, i));