1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

fix unused lambda capture

This commit is contained in:
Zeno Rogue 2018-12-15 14:50:11 +01:00
parent b7dd69f99e
commit c022863e8b

View File

@ -1154,7 +1154,7 @@ euc_pointer euclideanAtCreate(int vec) {
}
c = newCell(8, encodeId(vec));
// euclideanAt(vec) = c;
build_euclidean_moves(c, vec, [ep, c,vec] (int delta, int d, int d2) {
build_euclidean_moves(c, vec, [c,vec] (int delta, int d, int d2) {
euc_pointer ep2 = euclideanAt(vec + delta);
cell* c2 = *ep2.first;
if(!c2) return;