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 --- src/effectvideo.cpp | 1 + src/koopatlas/mapdata.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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