mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
minor cleanup
This commit is contained in:
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…
x
Reference in New Issue
Block a user