1
0
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:
Ivan Savenko
2025-01-30 11:31:54 +00:00
parent 5d67de0e46
commit 313fa1e80e
3 changed files with 4 additions and 41 deletions

View File

@@ -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();
});