1
0
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:
Zeno Rogue 2022-06-08 18:00:00 +02:00
parent 356bce6842
commit 6039c40bc2

View File

@ -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++;