diff options
author | Treeki <treeki@gmail.com> | 2012-07-25 23:48:37 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-07-25 23:48:37 +0200 |
commit | 72b37b585d7d6e5a69b572e20fd4f2bdbbc829e5 (patch) | |
tree | ae156fc41876d4a866d555b069fb7f0e5158c035 /src | |
parent | 93d44c82000b9cc3b420ae4587846bb8f2db5faa (diff) | |
download | kamek-72b37b585d7d6e5a69b572e20fd4f2bdbbc829e5.tar.gz kamek-72b37b585d7d6e5a69b572e20fd4f2bdbbc829e5.zip |
node colours should be fixed now
Diffstat (limited to 'src')
-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; |