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:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user