1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-02 02:37:55 +00:00

fixed unused capture warnings

This commit is contained in:
Zeno Rogue
2021-06-03 15:11:24 +02:00
parent fde3977218
commit 982377c26c
4 changed files with 6 additions and 6 deletions

View File

@@ -1275,7 +1275,7 @@ EX namespace dice {
base_to_base = -h[2];
else {
ld lim = sphere ? 1 : 5;
base_to_base = binsearch(-lim, lim, [h, osphere] (ld d) {
base_to_base = binsearch(-lim, lim, [h] (ld d) {
return (zpush(d) * h)[2] >= sin_auto(vid.depth);
});
}