mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Remove commented-out code
This commit is contained in:
@@ -79,7 +79,7 @@ uint32_t ReachabilityInfo::distToNearestNeighbour(
|
||||
}
|
||||
}
|
||||
|
||||
attackableHexes.erase_if([defender](const BattleHex & h) -> bool
|
||||
attackableHexes.eraseIf([defender](const BattleHex & h) -> bool
|
||||
{
|
||||
return h.getY() != defender->getPosition().getY() || !h.isAvailable();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user