minor cleanup

actorid
Marc Zinnschlag 11 years ago
parent fafb7501e3
commit 03b3487f1b

@ -250,12 +250,9 @@ namespace MWMechanics
}
int graphSize = mGraph.size();
std::vector<float> gScore;
gScore.resize(graphSize, -1);
std::vector<float> fScore;
fScore.resize(graphSize, -1);
std::vector<int> graphParent;
graphParent.resize(graphSize, -1);
std::vector<float> gScore (graphSize, -1);
std::vector<float> fScore (graphSize, -1);
std::vector<int> graphParent (graphSize, -1);
// gScore & fScore keep costs for each pathgrid point in mPoints
gScore[start] = 0;

Loading…
Cancel
Save