final cleanup and fixes

move the geo collection into each tile, seems to work better for large levels
add true to getnav in aiconver so it overwrites all goals
cache the triareas so we can use a tool later to modify them
This commit is contained in:
marauder2k7 2025-07-28 20:26:31 +01:00
parent dc74f63d85
commit bad9d9b188
3 changed files with 40 additions and 37 deletions

View file

@ -80,7 +80,7 @@ bool AIController::findCover(const Point3F& from, F32 radius)
if (s.point)
{
// Calling setPathDestination clears cover...
bool foundPath = getNav()->setPathDestination(s.point->getPosition());
bool foundPath = getNav()->setPathDestination(s.point->getPosition(), true);
setCover(s.point);
s.point->setOccupied(true);
return foundPath;