mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-18 03:04:48 +00:00
in adj_minefield_cells_full, change forCellIdEx to forCellIdCM
This commit is contained in:
parent
c6ccee56f9
commit
754e774bcf
2
cell.cpp
2
cell.cpp
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user