diff --git a/Source/Contents/TerrainPathSearch.cpp b/Source/Contents/TerrainPathSearch.cpp index 5157e6ef..e6fe16cc 100644 --- a/Source/Contents/TerrainPathSearch.cpp +++ b/Source/Contents/TerrainPathSearch.cpp @@ -1,5 +1,10 @@ #include "Contents/TerrainPathSearch.h" +// OFFSET: 0x00AD7E70 +// FUNCTION: fn_17860 +CPathFinder::CPathFinder() : useNodePool(false) { +} + // OFFSET: 0x00AD9840 // FUNCTION: fn_17885 void CPathFinder::Reset() { diff --git a/Source/Contents/TerrainPathSearch.h b/Source/Contents/TerrainPathSearch.h index 222d2e65..53891d86 100644 --- a/Source/Contents/TerrainPathSearch.h +++ b/Source/Contents/TerrainPathSearch.h @@ -26,12 +26,14 @@ public: class CPathFinder { public: + CPathFinder(); + /* 0000 */ C3dAttr* attr; /* 0004 */ int destinationX; /* 0008 */ int destinationY; /* 000C */ int nodeCount; /* 0010 */ MovementPathNode nodes[150]; - /* 1078 */ std::uint8_t unknown_1078[8]; + /* 1078 */ std::map unknown_1078; /* 1080 */ bool useNodePool; /* 1084 */ std::vector nodePool; /* 1090 */ std::map nodeMap;