From 72b37b585d7d6e5a69b572e20fd4f2bdbbc829e5 Mon Sep 17 00:00:00 2001 From: Treeki Date: Wed, 25 Jul 2012 23:48:37 +0200 Subject: node colours should be fixed now --- src/koopatlas/mapdata.cpp | 1 - src/koopatlas/pathmanager.cpp | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/koopatlas') 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; -- cgit v1.2.3