From 642c99cff7810bc979ade719d4b88e2941fa1461 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Wed, 29 Aug 2012 13:22:45 -0500 Subject: Node fix, added a new effect --- NewerProjectKP.yaml | 2 +- src/effectvideo.cpp | 1 + src/koopatlas/mapdata.cpp | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NewerProjectKP.yaml b/NewerProjectKP.yaml index 92264c1..f099f40 100644 --- a/NewerProjectKP.yaml +++ b/NewerProjectKP.yaml @@ -14,7 +14,7 @@ modules: - processed/spritetex.yaml # - processed/gakenoko.yaml - processed/poweruphax.yaml -# - processed/heapbar.yaml + # - processed/heapbar.yaml - processed/randtiles.yaml - processed/objkinoko.yaml - processed/tilegod.yaml diff --git a/src/effectvideo.cpp b/src/effectvideo.cpp index cea96fb..d690263 100644 --- a/src/effectvideo.cpp +++ b/src/effectvideo.cpp @@ -83,6 +83,7 @@ int EffectVideo::onExecute() { case 5: efName = "Wm_en_sndlandsmk"; break; case 6: efName = "Wm_en_sndlandsmk_s"; break; case 43: efName = "Wm_ob_cmnspark"; break; + case 159: efName = "Wm_mr_hardhit_grain"; break; case 177: efName = "Wm_ob_greencoinkira_b"; break; case 193: efName = "Wm_mr_electricshock_biri01_s"; break; case 216: efName = "Wm_en_blockcloud"; break; diff --git a/src/koopatlas/mapdata.cpp b/src/koopatlas/mapdata.cpp index ef0a747..1857b18 100644 --- a/src/koopatlas/mapdata.cpp +++ b/src/koopatlas/mapdata.cpp @@ -77,14 +77,14 @@ void dKPNode_s::setupNodeExtra() { // Is it complete? else if ((exitComplete) || (secretComplete)) { // Does it have two exits? - if ((this->hasSecret) && (!exitComplete) && (!secretComplete)) + if ((this->hasSecret) && (exitComplete) && (secretComplete)) colour = "g3d/blue.brres"; // Does it have one exit? else if ((!this->hasSecret) && (exitComplete)) colour = "g3d/blue.brres"; - // All exits are complete + // Not all exits are complete else colour = "g3d/purple.brres"; } -- cgit v1.2.3