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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user