mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 09:29:44 +00:00
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
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:
parent
348c058c9b
commit
f0a407c20a
2 changed files with 1 additions and 3 deletions
|
|
@ -296,8 +296,7 @@ private:
|
|||
};
|
||||
|
||||
Pathfinding::Pathfinding(const Level& level)
|
||||
: level(level),
|
||||
chunks(*level.chunks),
|
||||
: chunks(*level.chunks),
|
||||
blockDefs(level.content.getIndices()->blocks) {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue