1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-16 22:57:38 +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

@@ -1124,7 +1124,7 @@ void movePlayer(monster *m, int delta) {
if(d<bestd) bestd=d, subdir = di;
}
pushmonsters();
auto mip = determinePush(cellwalker(c2, sd1)+wstep, subdir, [m, c2] (movei mi) { return canPushThumperOn(mi, m->base); });
auto mip = determinePush(cellwalker(c2, sd1)+wstep, subdir, [m] (movei mi) { return canPushThumperOn(mi, m->base); });
visibleFor(300);
if(!mip.proper()) go = false;
else pushThumper(mip);