mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Merge remote-tracking branch 'upstream/develop' into battle-dialog
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
///BattleInfo
|
||||
std::pair< std::vector<BattleHex>, int > BattleInfo::getPath(BattleHex start, BattleHex dest, const CStack * stack)
|
||||
std::pair< std::vector<BattleHex>, int > BattleInfo::getPath(BattleHex start, BattleHex dest, const battle::Unit * stack)
|
||||
{
|
||||
auto reachability = getReachability(stack);
|
||||
|
||||
@@ -662,7 +662,7 @@ int32_t BattleInfo::getEnchanterCounter(ui8 side) const
|
||||
return sides.at(side).enchanterCounter;
|
||||
}
|
||||
|
||||
const IBonusBearer * BattleInfo::asBearer() const
|
||||
const IBonusBearer * BattleInfo::getBonusBearer() const
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user