1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Removed unnecessary access to IHandler::objects

This commit is contained in:
Ivan Savenko
2024-01-16 19:06:41 +02:00
parent 6e629a6a5f
commit ffd604c114
7 changed files with 9 additions and 9 deletions

View File

@ -169,7 +169,7 @@ CMap::CMap(IGameCallback * cb)
, grailRadius(0)
, uidCounter(0)
{
allHeroes.resize(VLC->heroh->objects.size());
allHeroes.resize(VLC->heroh->size());
allowedAbilities = VLC->skillh->getDefaultAllowed();
allowedArtifact = VLC->arth->getDefaultAllowed();
allowedSpells = VLC->spellh->getDefaultAllowed();