mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
refactor types
This commit is contained in:
@@ -246,8 +246,6 @@ BattleOnlyModeStartInfo::BattleOnlyModeStartInfo()
|
||||
: selectedTerrain(TerrainId::DIRT)
|
||||
, selectedTown(std::nullopt)
|
||||
{
|
||||
for(auto & element : selectedArmy)
|
||||
element = std::make_shared<CCreatureSet>();
|
||||
for(auto & element : primSkillLevel)
|
||||
for(size_t i=0; i<GameConstants::PRIMARY_SKILLS; i++)
|
||||
element[i] = 0;
|
||||
|
||||
Reference in New Issue
Block a user