mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-28 11:00:34 +00:00
fix unused lambda capture
This commit is contained in:
parent
b7dd69f99e
commit
c022863e8b
2
cell.cpp
2
cell.cpp
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user