fix build warning
Some checks failed
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Has been cancelled
Build / Build (push) Has been cancelled
Macos Build / build-dmg (push) Has been cancelled
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Has been cancelled
MSVC Build / build-windows (windows-2022) (push) Has been cancelled

This commit is contained in:
MihailRis 2026-11-12 20:53:59 +03:00
parent 348c058c9b
commit f0a407c20a
2 changed files with 1 additions and 3 deletions

View file

@ -296,8 +296,7 @@ private:
};
Pathfinding::Pathfinding(const Level& level)
: level(level),
chunks(*level.chunks),
: chunks(*level.chunks),
blockDefs(level.content.getIndices()->blocks) {
}

View file

@ -89,7 +89,6 @@ namespace voxels {
const std::unordered_map<int, Agent>& getAgents() const;
private:
const Level& level;
const GlobalChunks& chunks;
const ContentUnitIndices<Block, blockid_t>& blockDefs;
std::unordered_map<int, Agent> agents;