CAI_NetworkBuilder::SaveNetworkGraph: Fix bug

Iterated over the wrong vector, dumped AIN's from r2 are now 100% identical, the function has been debugged and is complete.
This commit is contained in:
Kawe Mazidjatari 2023-08-27 11:38:02 +02:00
parent 9d2801929a
commit f22e7890b0

View File

@ -284,7 +284,7 @@ void CAI_NetworkBuilder::SaveNetworkGraph(CAI_Network* pNetwork)
FOR_EACH_VEC(pathClusters->unkVec1, j)
{
short unkShort = static_cast<short>(pathClusters->unkVec0[j]);
short unkShort = static_cast<short>(pathClusters->unkVec1[j]);
FileSystem()->Write(&unkShort, sizeof(short), pAIGraph);
}