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

Minor optimization of map startup time

This commit is contained in:
Ivan Savenko
2023-11-07 17:30:16 +02:00
parent 4e654a7e6e
commit ed66fc2fb3
4 changed files with 4 additions and 6 deletions

View File

@ -117,7 +117,7 @@ std::set<int3> CGObjectInstance::getBlockedPos() const
return ret;
}
std::set<int3> CGObjectInstance::getBlockedOffsets() const
const std::set<int3> & CGObjectInstance::getBlockedOffsets() const
{
return appearance->getBlockedOffsets();
}