1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +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

@@ -80,7 +80,7 @@ public:
bool isVisibleAt(si32 X, si32 Y) const;
bool isBlockedAt(si32 X, si32 Y) const;
inline std::set<int3> getBlockedOffsets() const
inline const std::set<int3> & getBlockedOffsets() const
{
return blockedOffsets;
};