summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/pathmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp
index 3b592d2..a945662 100644
--- a/src/koopatlas/pathmanager.cpp
+++ b/src/koopatlas/pathmanager.cpp
@@ -67,7 +67,8 @@ void dWMPathManager_c::setup() {
SpammyReport("done\n");
for (int i = 0; i < pathLayer->nodeCount; i++)
- pathLayer->nodes[i]->setupNodeExtra();
+ if (pathLayer->nodes[i]->type == dKPNode_s::LEVEL)
+ pathLayer->nodes[i]->setupNodeExtra();
}
static u8 *PathAvailabilityData = 0;