mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +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:
parent
e677164ed0
commit
ed86a917eb
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user