1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Remove most of non-const access to VLC entities

This commit is contained in:
Ivan Savenko
2023-12-31 23:43:35 +02:00
parent bd5682ecc3
commit d5c4478816
55 changed files with 236 additions and 305 deletions

View File

@@ -78,7 +78,7 @@ std::list<Validator::Issue> Validator::validate(const CMap * map)
if(!hplayers)
issues.emplace_back(tr("No human players allowed to play this map"), true);
std::set<CHero*> allHeroesOnMap; //used to find hero duplicated
std::set<const CHero*> allHeroesOnMap; //used to find hero duplicated
//checking all objects in the map
for(auto o : map->objects)