mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 07:20:25 +00:00
fixed adj_minefield_cells_full
This commit is contained in:
parent
356bce6842
commit
6039c40bc2
2
cell.cpp
2
cell.cpp
@ -1434,7 +1434,7 @@ EX vector<adj_data> adj_minefield_cells_full(cell *c) {
|
|||||||
cellwalker cw1 = cw;
|
cellwalker cw1 = cw;
|
||||||
do {
|
do {
|
||||||
res.emplace_back(adj_data{cw.at, cw.mirrored, T});
|
res.emplace_back(adj_data{cw.at, cw.mirrored, T});
|
||||||
T = T * currentmap->adj(c, cw.spin);
|
T = T * currentmap->adj(cw.at, cw.spin);
|
||||||
cw += wstep;
|
cw += wstep;
|
||||||
cw++;
|
cw++;
|
||||||
if(cw.cpeek() == c) cw++;
|
if(cw.cpeek() == c) cw++;
|
||||||
|
Loading…
Reference in New Issue
Block a user