diff options
author | Treeki <treeki@gmail.com> | 2012-07-26 06:03:40 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-07-26 06:03:40 +0200 |
commit | 939761342c63abfd5cab49106d6f5a367528d0bd (patch) | |
tree | 5a89fc5c32db76c703060cdde5ea1ec9f3e73e07 /src/koopatlas/pathmanager.cpp | |
parent | be36e213f86dd1c27618b751ede25b2e89df6757 (diff) | |
download | kamek-939761342c63abfd5cab49106d6f5a367528d0bd.tar.gz kamek-939761342c63abfd5cab49106d6f5a367528d0bd.zip |
oh well.
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/pathmanager.cpp | 3 |
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; |