test mobs

This commit is contained in:
MihailRis
2025-09-01 01:39:31 +03:00
parent c06636053d
commit 88641e032a
5 changed files with 142 additions and 79 deletions
+1 -1
View File
@@ -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) {