mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
EWallPart & EWallState are now enum class
This commit is contained in:
@@ -364,7 +364,7 @@ bool CBattleInfoEssentials::battleHasHero(ui8 side) const
|
||||
return getBattle()->getSideHero(side) != nullptr;
|
||||
}
|
||||
|
||||
si8 CBattleInfoEssentials::battleGetWallState(int partOfWall) const
|
||||
EWallState CBattleInfoEssentials::battleGetWallState(EWallPart partOfWall) const
|
||||
{
|
||||
RETURN_IF_NOT_BATTLE(EWallState::NONE);
|
||||
if(battleGetSiegeLevel() == CGTownInstance::NONE)
|
||||
|
||||
Reference in New Issue
Block a user