summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-07-26 06:03:40 +0200
committerTreeki <treeki@gmail.com>2012-07-26 06:03:40 +0200
commit939761342c63abfd5cab49106d6f5a367528d0bd (patch)
tree5a89fc5c32db76c703060cdde5ea1ec9f3e73e07 /src/koopatlas/pathmanager.cpp
parentbe36e213f86dd1c27618b751ede25b2e89df6757 (diff)
downloadkamek-939761342c63abfd5cab49106d6f5a367528d0bd.tar.gz
kamek-939761342c63abfd5cab49106d6f5a367528d0bd.zip
oh well.
Diffstat (limited to 'src/koopatlas/pathmanager.cpp')
-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;