Pathing stuck detection, and logic to go with it

This commit is contained in:
KimLS committed 2017-08-30 19:55:35 -07:00
1 parent 0ba9b3fedc
commit c52ff4249a
10 files changed
+81 -41

No files matched your search

+3 -1
View File
@@ -1,7 +1,9 @@
#include "pathfinder_null.h"
IPathfinder::IPath PathfinderNull::FindRoute(const glm::vec3 &start, const glm::vec3 &end)
IPathfinder::IPath PathfinderNull::FindRoute(const glm::vec3 &start, const glm::vec3 &end, bool &partial, bool &error)
{
error = false;
partial = false;
IPath ret;
ret.push_back(start);
ret.push_back(end);