1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

AI/BattleAI/BattleAI.cpp: Use Class template argument deduction for wallParts array

Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
This commit is contained in:
Alexander Wilms 2023-10-29 14:25:02 +01:00
parent e677164ed0
commit ed86a917eb

View File

@ -197,7 +197,7 @@ BattleAction CBattleAI::useCatapult(const BattleID & battleID, const CStack * st
}
else
{
std::array<EWallPart, 7> wallParts {
std::array wallParts {
EWallPart::KEEP,
EWallPart::BOTTOM_TOWER,
EWallPart::UPPER_TOWER,