When pathfinding, don't output a redundant account node

This commit is contained in:
JoelKatz
2014-10-28 11:34:27 -07:00
committed by Nik Bougalis
parent c6c8e5d70c
commit 0a3e1af04c
2 changed files with 34 additions and 13 deletions

View File

@@ -195,6 +195,16 @@ public:
return mPath.front ();
}
STPathElement& operator[](int i)
{
return mPath[i];
}
const STPathElement& operator[](int i) const
{
return mPath[i];
}
private:
std::vector<STPathElement> mPath;
};