mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-23 02:49:46 +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)
|
Pathfinding::Pathfinding(const Level& level)
|
||||||
: level(level),
|
: chunks(*level.chunks),
|
||||||
chunks(*level.chunks),
|
|
||||||
blockDefs(level.content.getIndices()->blocks) {
|
blockDefs(level.content.getIndices()->blocks) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,6 @@ namespace voxels {
|
||||||
|
|
||||||
const std::unordered_map<int, Agent>& getAgents() const;
|
const std::unordered_map<int, Agent>& getAgents() const;
|
||||||
private:
|
private:
|
||||||
const Level& level;
|
|
||||||
const GlobalChunks& chunks;
|
const GlobalChunks& chunks;
|
||||||
const ContentUnitIndices<Block, blockid_t>& blockDefs;
|
const ContentUnitIndices<Block, blockid_t>& blockDefs;
|
||||||
std::unordered_map<int, Agent> agents;
|
std::unordered_map<int, Agent> agents;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue