Core/MMaps: Implement pathed charge effect
This commit is contained in:
1 parent
c7fed98b9d
commit
d7eeebe0f3
9 files changed
+69
-24
No files matched your search
@@ -456,6 +456,13 @@ void PathGenerator::BuildPointPath(const float *startPoint, const float *endPoin
|
||||
m_type = PATHFIND_NOPATH;
|
||||
return;
|
||||
}
|
||||
else if (pointCount == m_pointPathLimit)
|
||||
{
|
||||
sLog->outDebug(LOG_FILTER_MAPS, "++ PathGenerator::BuildPointPath FAILED! path sized %d returned, lower than limit set to %d\n", pointCount, m_pointPathLimit);
|
||||
BuildShortcut();
|
||||
m_type = PATHFIND_SHORT;
|
||||
return;
|
||||
}
|
||||
|
||||
m_pathPoints.resize(pointCount);
|
||||
for (uint32 i = 0; i < pointCount; ++i)
|
||||
|
||||
Reference in new issue
Block a user