forked from mirror/openmw-tes3mp
minor cleanup
This commit is contained in:
parent
fafb7501e3
commit
03b3487f1b
1 changed files with 3 additions and 6 deletions
|
@ -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…
Reference in a new issue