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

vcmi: massive refactoring v1

This commit is contained in:
Konstantin
2023-04-05 03:26:29 +03:00
parent ee489f18d2
commit 11b237a23c
129 changed files with 803 additions and 762 deletions

View File

@@ -252,9 +252,9 @@ uint32_t CBattleInfoEssentials::battleCastSpells(ui8 side) const
return getBattle()->getCastSpells(side);
}
const IBonusBearer * CBattleInfoEssentials::getBattleNode() const
const IBonusBearer * CBattleInfoEssentials::getBonusBearer() const
{
return getBattle()->asBearer();
return getBattle()->getBonusBearer();
}
bool CBattleInfoEssentials::battleCanFlee(const PlayerColor & player) const