1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-29 13:07:40 +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

@@ -674,7 +674,7 @@ EX void beastAttack(cell *c, bool player, bool targetdir) {
if(c2->wall == waThumperOn) {
cellwalker bull (c, d);
int subdir = determinizeBullPush(bull);
auto mi = determinePush(bull, subdir, [c, c2] (movei mi) { return canPushThumperOn(mi, c); });
auto mi = determinePush(bull, subdir, [c] (movei mi) { return canPushThumperOn(mi, c); });
if(mi.proper())
pushThumper(mi);
}