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