diff options
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/mapdata.cpp | 1 | ||||
-rw-r--r-- | src/koopatlas/pathmanager.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/koopatlas/mapdata.cpp b/src/koopatlas/mapdata.cpp index 63fd0b7..769c6c8 100644 --- a/src/koopatlas/mapdata.cpp +++ b/src/koopatlas/mapdata.cpp @@ -270,7 +270,6 @@ void dKPMapData_c::fixup() { for (int nodeIdx = 0; nodeIdx < pathLayer->nodeCount; nodeIdx++) { if (pathLayer->nodes[nodeIdx]->type == dKPNode_s::LEVEL) { pathLayer->nodes[nodeIdx]->extra = &levelNodeExtraArray[extraIdx]; - pathLayer->nodes[nodeIdx]->setupNodeExtra(); extraIdx++; } } diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index de2a584..5f38043 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -65,6 +65,9 @@ void dWMPathManager_c::setup() { isEnteringLevel = false; unlockPaths(); SpammyReport("done\n"); + + for (int i = 0; i < pathLayer->nodeCount; i++) + pathLayer->nodes[i]->setupNodeExtra(); } static u8 *PathAvailabilityData = 0; |