mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
test mobs
This commit is contained in:
parent
c06636053d
commit
88641e032a
5 changed files with 142 additions and 79 deletions
|
|
@ -200,7 +200,7 @@ Route Pathfinding::perform(Agent& agent, int maxVisited) {
|
|||
}
|
||||
state.finished = true;
|
||||
agent.state = std::move(state);
|
||||
return {};
|
||||
return finish_route(agent, std::move(agent.state));
|
||||
}
|
||||
|
||||
Agent* Pathfinding::getAgent(int id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue