FULLPIPE: Add missing list purge in MovGraph2::findMinPath

This commit is contained in:
Retro-Junk 2016-08-14 15:20:41 +03:00 committed by Eugene Sandulenko
parent 68508cb87e
commit 35a1ad3463

View File

@ -2818,6 +2818,8 @@ double MovGraph2::findMinPath(LinkInfo *linkInfoSource, LinkInfo *linkInfoDest,
newDistance = findMinPath(&linkInfoWorkSource, linkInfoDest, &tmpList);
if (newDistance >= 0 && (minDistance < 0.0 || newDistance < minDistance)) {
listObj->clear();
listObj->push_back(linkInfoSource->link);
listObj->push_back(tmpList);