1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Rename a misleading method

This commit is contained in:
Opuszek
2025-07-13 22:51:30 +02:00
parent 25ba05cdab
commit ac3991b899
4 changed files with 4 additions and 4 deletions

View File

@@ -501,7 +501,7 @@ bool BattleFlowProcessor::tryMakeAutomaticActionOfCatapult(const CBattleInfoCall
const CGHeroInstance * curOwner = battle.battleGetOwnerHero(next);
if (next->unitType()->getId() == CreatureID::CATAPULT)
{
const auto & attackableBattleHexes = battle.getAttackableBattleHexes();
const auto & attackableBattleHexes = battle.getAttackableWallParts();
if (attackableBattleHexes.empty())
{