mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-28 19:10:35 +00:00
fixed the unused capture warnings
This commit is contained in:
parent
0d4ab601d0
commit
938e4628a3
@ -1656,7 +1656,8 @@ void celldrawer::check_rotations() {
|
||||
// so we use function(old) which will return the same value as function(c) if ds.best is not known yet
|
||||
cell *old = ds.best ? ds.best : c;
|
||||
|
||||
auto use_if_less = [this, &ds] (int a, int b, ld spd, int side) {
|
||||
auto use_if_less = [this] (int a, int b, ld spd, int side) {
|
||||
auto& ds = downseek;
|
||||
if(a > b) return;
|
||||
if(!ds.best || a < b) ds.reset();
|
||||
if(a <= b) {
|
||||
|
@ -932,7 +932,8 @@ EX namespace euc {
|
||||
char ch = 'a' + i * 3 + j;
|
||||
if(displayfr(dialog::dcenter + dialog::dfspace * 4 * (j-(dim-1.)/2), v.position, 2, dialog::dfsize, its(T_edit[j][i]), 0xFFFFFF, 8))
|
||||
getcstat = ch;
|
||||
dialog::add_key_action(ch, [&T_edit, i, j] {
|
||||
dialog::add_key_action(ch, [i, j] {
|
||||
auto& T_edit = eu_edit.user_axes;
|
||||
dialog::editNumber(T_edit[j][i], -10, +10, 1, 0, "", XLAT(
|
||||
"This matrix lets you play on the quotient spaces of three-dimensional. "
|
||||
"Euclidean space. Every column specifies a translation vector which "
|
||||
|
Loading…
Reference in New Issue
Block a user